OSDN Git Service

Fix bug that was causing one sec. of audio to be dropped on many ffmpeg files. Proble...
authorvan <van@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 21 Sep 2009 07:18:49 +0000 (07:18 +0000)
committervan <van@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Mon, 21 Sep 2009 07:18:49 +0000 (07:18 +0000)
commit3901883f636e83be4dac3eec2182f985b50e7d01
tree1d13bfaba8ce22ea45afa444efd38cb8d529824b
parent30f949856dd07f56572a3054fa19432037d65862
Fix bug that was causing one sec. of audio to be dropped on many ffmpeg files. Problem is that audio & video can be interleaved in any order but we drop everything up to the first video frame. Since ffmpeg returns a second of audio per read on an audio stream, if audio started before video we lose the first second of it. Changed to allow either audio or video to signal start 'reader'.

git-svn-id: svn://localhost/HandBrake/trunk@2831 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/reader.c