diff options
author | jstebbins <[email protected]> | 2009-12-07 00:37:51 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-12-07 00:37:51 +0000 |
commit | 2e15889c325c6033d30debc810fd7639a6a01c52 (patch) | |
tree | 83b0c63188eb3e3ec14321ab40f3286e02d39709 | |
parent | c5963c0bbb3ddfe7be1a4c40335e727426ae6a03 (diff) |
fix detection of forced subtitles during foreign audio search
reader drops all buffers till it finds video or audio.
but since video and audio fifos are null when indepth_scan is
set, we never see video or audio.
Solution is to not drop buffers in indepth scan mode
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3011 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | libhb/reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/reader.c b/libhb/reader.c index 346cafd5a..6b7d4cd80 100644 --- a/libhb/reader.c +++ b/libhb/reader.c @@ -336,7 +336,7 @@ static void ReaderFunc( void * _r ) hb_list_rem( list, buf ); fifos = GetFifoForId( r->job, buf->id ); - if ( fifos && ! r->saw_video ) + if ( fifos && ! r->saw_video && !r->job->indepth_scan ) { // The first data packet with a PTS from an audio or video stream // that we're decoding defines 'time zero'. Discard packets until |