summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Svensson <linussn@axis.com>2016-02-23 15:55:13 +0100
committerTim-Philipp Müller <tim@centricular.com>2016-04-06 11:21:37 +0100
commit0dac6d54441d5b6337c846fc03140655b80b6d20 (patch)
tree9c4572dc666f7306a5e171cef4d2d3f928ae77f4
parent165a71c040a4e4f5f8016246b692da2faf0760ac (diff)
downloadgstreamer-plugins-good-0dac6d54441d5b6337c846fc03140655b80b6d20.tar.gz
matroska-demux: Unref seek event
https://bugzilla.gnome.org/show_bug.cgi?id=762542
-rw-r--r--gst/matroska/matroska-demux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index 2317ce584..94624b4d2 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -2314,6 +2314,7 @@ gst_matroska_demux_handle_src_event (GstPad * pad, GstObject * parent,
/* no seeking until we are (safely) ready */
if (demux->common.state != GST_MATROSKA_READ_STATE_DATA) {
GST_DEBUG_OBJECT (demux, "not ready for seeking yet");
+ gst_event_unref (event);
return FALSE;
}
if (!demux->streaming)