summaryrefslogtreecommitdiff
path: root/gst/mpegtsdemux
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2012-11-10 20:44:44 +0100
committerJosep Torra <n770galaxy@gmail.com>2012-11-12 22:57:19 +0100
commit1fc5fffe088ffdd838b0f36b19e5741c32a5240a (patch)
treef8ac99fce936b9e35fe2761e4d5175840786ce83 /gst/mpegtsdemux
parentcc40d49beda0eaf0b8acd64fb16342c2832ce453 (diff)
downloadgstreamer-plugins-bad-1fc5fffe088ffdd838b0f36b19e5741c32a5240a.tar.gz
mpegtsbase: fix double unref of seek event
Diffstat (limited to 'gst/mpegtsdemux')
-rw-r--r--gst/mpegtsdemux/mpegtsbase.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/mpegtsdemux/mpegtsbase.c b/gst/mpegtsdemux/mpegtsbase.c
index e8db15bbc..e418397bd 100644
--- a/gst/mpegtsdemux/mpegtsbase.c
+++ b/gst/mpegtsdemux/mpegtsbase.c
@@ -1674,7 +1674,6 @@ mpegts_base_handle_seek_event (MpegTSBase * base, GstPad * pad,
/* First try if upstream supports seeking in TIME format */
if (gst_pad_push_event (base->sinkpad, gst_event_ref (event))) {
GST_DEBUG ("upstream handled SEEK event");
- gst_event_unref (event);
return TRUE;
}
/* FIXME : Actually ... it is supported, we just need to convert