From 47f8d9f185afd56e21108eabe3789756bc8fe04e Mon Sep 17 00:00:00 2001 From: van Date: Tue, 2 Dec 2008 20:31:06 +0000 Subject: I suspect that eddyg's r1987 didn't really want to totally break transport and program streams ... git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1992 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/stream.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libhb/stream.c b/libhb/stream.c index 483755659..d6079d81d 100755 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -1103,6 +1103,11 @@ int hb_stream_seek_chapter( hb_stream_t * stream, int chapter_num ) { return 0; } + if ( stream->hb_stream_type != ffmpeg ) + { + // currently meaningliess for transport and program streams + return 1; + } for( i = 0; i < chapter_num; i++) { -- cgit v1.2.3