mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
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
1 changed files with 8 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue