summaryrefslogtreecommitdiffstats
path: root/libhb/stream.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-03-18 18:25:35 +0000
committerjstebbins <[email protected]>2012-03-18 18:25:35 +0000
commit5133791ebd1528a04c4bee3acd7ebd606ff1fc19 (patch)
tree0193541139f9e950b5924313be408f8089646609 /libhb/stream.c
parent630e3f746334dbe5b439a78f02b7a8573be9c0e0 (diff)
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
Diffstat (limited to 'libhb/stream.c')
-rw-r--r--libhb/stream.c5
1 files changed, 4 insertions, 1 deletions
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
{