summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-09-15 22:20:38 +0000
committerjstebbins <[email protected]>2011-09-15 22:20:38 +0000
commit99b2f89cfc6e63fc34d5c7e8311f0b8124da57a0 (patch)
tree330e60ceb243e2fc2390795f54a47218af14a93e
parent84f5b73ee875ba634ac80d3843acf355296f6d71 (diff)
fix silly error in scanning BD
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4223 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index 7b3a422c6..b418af407 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -977,7 +977,6 @@ hb_stream_t * hb_bd_stream_open( hb_title_t *title )
update_ts_streams( d, pid, stream_id_ext, stream_type, A, NULL );
}
- d->ts_flags = TS_HAS_RAP | TS_HAS_PCR;
// When scanning, title->job == NULL. 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
@@ -985,6 +984,7 @@ hb_stream_t * hb_bd_stream_open( hb_title_t *title )
if ( title->job )
{
// BD PCR PID is specified to always be 0x1001
+ d->ts_flags = TS_HAS_RAP | TS_HAS_PCR;
update_ts_streams( d, 0x1001, 0, -1, P, NULL );
}