summaryrefslogtreecommitdiffstats
path: root/libhb/scan.c
diff options
context:
space:
mode:
authorvan <[email protected]>2008-04-15 19:14:03 +0000
committervan <[email protected]>2008-04-15 19:14:03 +0000
commit56d9caaefb91abc763be3a1d17d14d0e7e2e9059 (patch)
treec693cf6b581410cc53b55772bf1d5a68ddc9456f /libhb/scan.c
parentb856292606251eafc70286eac8c5dc6e6fd9dd02 (diff)
Move clock recovery code from reader to demuxmpeg so it sees all frames & not just the ones we happen to be encoding. This change gives a more accurate clock and allows us to once again ignore audio during pass 1 of a 2 pass encode.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1420 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/scan.c')
-rw-r--r--libhb/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/scan.c b/libhb/scan.c
index 8669fb01e..b139e5e4c 100644
--- a/libhb/scan.c
+++ b/libhb/scan.c
@@ -299,7 +299,7 @@ static int DecodePreviews( hb_scan_t * data, hb_title_t * title )
goto skip_preview;
}
}
- hb_demux_ps( buf_ps, list_es );
+ hb_demux_ps( buf_ps, list_es, 0 );
while( ( buf_es = hb_list_item( list_es, 0 ) ) )
{