summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Svensson <linussn@axis.com>2016-02-23 15:55:13 +0100
committerSebastian Dröge <sebastian@centricular.com>2016-02-23 17:54:43 +0200
commit1a3986d0162b8c54107832f8e3e9e5416d78e52c (patch)
tree123d13e47ef1354ba33611dc99ecbc413e8a54ce
parent84e441d2685cf223d348a95be0c5ba693bbf6624 (diff)
downloadgstreamer-plugins-good-1a3986d0162b8c54107832f8e3e9e5416d78e52c.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 f176ce0c6..40535f0cf 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -2343,6 +2343,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)