adaptivedemux: reject segment seeks

While #782140 can stay open for actually handling these,
the fact is currently adaptivedemux does not handle segment
seeks, and as such should not accept them.

https://bugzilla.gnome.org/show_bug.cgi?id=784655
This commit is contained in:
Mathieu Duponchelle 2017-07-07 17:32:33 +02:00 committed by Mathieu Duponchelle
parent 1894293d63
commit ce98e7b87b

View file

@ -1567,6 +1567,14 @@ gst_adaptive_demux_handle_seek_event (GstAdaptiveDemux * demux, GstPad * pad,
return FALSE;
}
if (flags & GST_SEEK_FLAG_SEGMENT) {
GST_FIXME_OBJECT (demux, "Handle segment seeks");
GST_MANIFEST_UNLOCK (demux);
GST_API_UNLOCK (demux);
gst_event_unref (event);
return FALSE;
}
seqnum = gst_event_get_seqnum (event);
if (gst_adaptive_demux_is_live (demux)) {