mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
tagdemux: Forward TIME seeks upstream too, maybe upstream can handle that
https://bugzilla.gnome.org/show_bug.cgi?id=723597
This commit is contained in:
parent
76ec6d3760
commit
2ca256acdb
1 changed files with 4 additions and 0 deletions
|
@ -1001,6 +1001,10 @@ gst_tag_demux_seek_push (GstTagDemux * tagdemux, GstEvent * event)
|
|||
upstream = gst_event_new_seek (rate, format, flags,
|
||||
start_type, start, stop_type, stop);
|
||||
res = gst_pad_push_event (tagdemux->priv->sinkpad, upstream);
|
||||
} else if (format == GST_FORMAT_TIME &&
|
||||
tagdemux->priv->state == GST_TAG_DEMUX_STREAMING &&
|
||||
gst_pad_is_linked (tagdemux->priv->sinkpad)) {
|
||||
res = gst_pad_push_event (tagdemux->priv->sinkpad, gst_event_ref (event));
|
||||
}
|
||||
|
||||
return res;
|
||||
|
|
Loading…
Reference in a new issue