tsdemux: We do not support the SKIP seek flag but that is not a problem

This commit is contained in:
Sebastian Dröge 2014-01-30 20:28:04 +01:00
parent d331eee67c
commit 9682e44db6
2 changed files with 2 additions and 2 deletions

View 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;
}

View 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;
}