From 5133791ebd1528a04c4bee3acd7ebd606ff1fc19 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sun, 18 Mar 2012 18:25:35 +0000 Subject: libhb: Fix detection of streams in tivo captures Tivo creates an initial program stream map that is incomplete, missing the video stream definition. So don't quit scanning for new streams after seeing the first program stream map. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4513 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/stream.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libhb/stream.c') diff --git a/libhb/stream.c b/libhb/stream.c index 93167ba92..bf9a76ff8 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -3694,7 +3694,10 @@ static void hb_ps_stream_find_streams(hb_stream_t *stream) if ( decode_ps_map( stream, buf->data, buf->size ) ) { hb_log("Found program stream map"); - goto done; + // Normally, we could quit here since the program + // stream map *should* map all streams. But once + // again Tivo breaks things by not always creating + // complete maps. So continue processing... } else { -- cgit v1.2.3