diff options
author | Eric Trousset <etrousset@awox.com> | 2014-02-04 13:55:49 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-02-28 09:36:17 +0100 |
commit | ff531f04bbef25e288c89fe0c6f2c22d43770205 (patch) | |
tree | 7395fe126e8e851eaa416e8fc4c3d29ab59434cb | |
parent | 0d6f237025432eb5228384a97ed8e718bced592e (diff) | |
download | gstreamer-plugins-base-ff531f04bbef25e288c89fe0c6f2c22d43770205.tar.gz |
tagdemux: Forward TIME seeks upstream too, maybe upstream can handle that
https://bugzilla.gnome.org/show_bug.cgi?id=723597
-rw-r--r-- | gst-libs/gst/tag/gsttagdemux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/tag/gsttagdemux.c b/gst-libs/gst/tag/gsttagdemux.c index 9b6c4783f..dc17aecc8 100644 --- a/gst-libs/gst/tag/gsttagdemux.c +++ b/gst-libs/gst/tag/gsttagdemux.c @@ -958,6 +958,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; |