summaryrefslogtreecommitdiffstats
path: root/libhb/stream.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-11-20 00:25:05 +0000
committerjstebbins <[email protected]>2012-11-20 00:25:05 +0000
commitb1a9af3d8f002d2e43fc7cbaf968137c0fe36dfb (patch)
treeca4545aa597edf25441367e07f86a828e0ce0748 /libhb/stream.c
parent88067c60586db1b7b7a1d9d33c9178eab602aa6a (diff)
libhb: fix BD encoding
I inadvertently disabled PCR processing in BD in https://trac.handbrake.fr/changeset/5058 This caused bugs to show up in our processing of TS streams that have no PCR. So re-enable PCR processing in BD to fix the regression. And fix the problems with processing TS streams that have no PCR. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5071 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/stream.c')
-rw-r--r--libhb/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index 503e296dc..5d4f36516 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -963,7 +963,7 @@ hb_stream_t * hb_bd_stream_open( hb_title_t *title )
// We don't need to wait for a PCR when scanning. In fact, it
// trips us up on the first preview of every title since we would
// have to read quite a lot of data before finding the PCR.
- if ( !(title->flags & HBTF_SCAN_COMPLETE) )
+ if ( title->flags & HBTF_SCAN_COMPLETE )
{
/* BD has PCRs, but the BD index always points to a packet
* after a PCR packet, so we will not see the initial PCR