Avoid duplicated code calculating the stts sample duration

o This also speeds up the MediaRecorder.stop() call.
o Also fix incorrect start time compensation in stts box

Change-Id: I6392b8b980e0f786ddeeec0fe2c341de67208c6f
1 file changed
tree: f0995366a20ee3b250c1b76af70ab57aa82bae48
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/