OSDN Git Service

I suspect that eddyg's r1987 didn't really want to totally break transport and progra...
authorvan <van@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 2 Dec 2008 20:31:06 +0000 (20:31 +0000)
committervan <van@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 2 Dec 2008 20:31:06 +0000 (20:31 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@1992 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/stream.c

index 4837556..d6079d8 100755 (executable)
@@ -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++)
     {