summaryrefslogtreecommitdiffstats
path: root/libhb/stream.c
diff options
context:
space:
mode:
authorvan <[email protected]>2008-12-02 20:31:06 +0000
committervan <[email protected]>2008-12-02 20:31:06 +0000
commit47f8d9f185afd56e21108eabe3789756bc8fe04e (patch)
treefa6a45270e7b62bdf9fb8aebf11e0677734c6fcb /libhb/stream.c
parent3b55542f317bbf6aa4ca353119d7de34c0c40ba7 (diff)
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
Diffstat (limited to 'libhb/stream.c')
-rwxr-xr-xlibhb/stream.c5
1 files changed, 5 insertions, 0 deletions
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++)
{