diff options
author | jstebbins <[email protected]> | 2013-10-21 20:57:38 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2013-10-21 20:57:38 +0000 |
commit | 310454f3726b2187a59246420611a284d7c28c84 (patch) | |
tree | 177f5fff28577764318717c24af904a23dcffbb9 /macosx/HBAudioController.m | |
parent | d4d367adde4c5e8754965a390d48693e2aa3acfc (diff) |
libhb: fix duration of initial audio frame when decoding with avcodec
For some codecs, the samplerate is not known until we decode some data.
So postpone calculation of frame duration till after we have decoded
some data.
The effect of this error is that the first 2 audio frames could have the
same start time. This causes the "non monotonically increasing dts"
error in libavformat mp4 muxer.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5849 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudioController.m')
0 files changed, 0 insertions, 0 deletions