mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
matroska-demux: Unref seek event
https://bugzilla.gnome.org/show_bug.cgi?id=762542
This commit is contained in:
parent
84e441d268
commit
1a3986d016
1 changed files with 1 additions and 0 deletions
|
@ -2343,6 +2343,7 @@ gst_matroska_demux_handle_src_event (GstPad * pad, GstObject * parent,
|
||||||
/* no seeking until we are (safely) ready */
|
/* no seeking until we are (safely) ready */
|
||||||
if (demux->common.state != GST_MATROSKA_READ_STATE_DATA) {
|
if (demux->common.state != GST_MATROSKA_READ_STATE_DATA) {
|
||||||
GST_DEBUG_OBJECT (demux, "not ready for seeking yet");
|
GST_DEBUG_OBJECT (demux, "not ready for seeking yet");
|
||||||
|
gst_event_unref (event);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
if (!demux->streaming)
|
if (!demux->streaming)
|
||||||
|
|
Loading…
Reference in a new issue