Properly handle start code in H264/AVC encoder output

- Some H264/AVC encoder output start code in each output buffer, and others don't.
  This patch always strips the start code first so that the sample contains the correct size.
- Also properly initialize the interleave duration.

Change-Id: I692043ce7e38f0215e1097aad9e847a57907b6e4
2 files changed
tree: c978a5038df7663487fa0ae3bbaadb8517d38f99
  1. camera/
  2. cmds/
  3. include/
  4. media/