tsdemux: We do not support the SKIP seek flag but that is not a problem
authorSebastian Dröge <sebastian@centricular.com>
Thu, 30 Jan 2014 19:28:04 +0000 (20:28 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 30 Jan 2014 19:29:58 +0000 (20:29 +0100)
gst/mpegtsdemux/mpegtsbase.c
gst/mpegtsdemux/tsdemux.c

index 626bb41f5c1ec5bf0e0166a8c0ba162c60a9a081..02484da00c9145aaf44627606ab96266b02bc599 100644 (file)
@@ -1414,7 +1414,7 @@ mpegts_base_handle_seek_event (MpegTSBase * base, GstPad * pad,
     mpegts_packetizer_flush (base->packetizer, FALSE);
   }
 
-  if (flags & (GST_SEEK_FLAG_SEGMENT | GST_SEEK_FLAG_SKIP)) {
+  if (flags & (GST_SEEK_FLAG_SEGMENT)) {
     GST_WARNING ("seek flags 0x%x are not supported", (int) flags);
     goto done;
   }
index d1f1f5dab35d4f7af086a18c931ba4d80c8ad3f1..390d080a34e1d3756bb618dfa5b1ac88178448a9 100644 (file)
@@ -538,7 +538,7 @@ gst_ts_demux_do_seek (MpegTSBase * base, GstEvent * event)
     goto done;
   }
 
-  if (flags & (GST_SEEK_FLAG_SEGMENT | GST_SEEK_FLAG_SKIP)) {
+  if (flags & (GST_SEEK_FLAG_SEGMENT)) {
     GST_WARNING ("seek flags 0x%x are not supported", (int) flags);
     goto done;
   }