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:
parent
1894293d63
commit
ce98e7b87b
@ -1567,6 +1567,14 @@ gst_adaptive_demux_handle_seek_event (GstAdaptiveDemux * demux, GstPad * pad,
|
|||||||
return FALSE;
|
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);
|
seqnum = gst_event_get_seqnum (event);
|
||||||
|
|
||||||
if (gst_adaptive_demux_is_live (demux)) {
|
if (gst_adaptive_demux_is_live (demux)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user