summaryrefslogtreecommitdiff
path: root/gst/y4m
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-01-13 00:11:54 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-01-13 00:11:54 +0000
commit699677ed8ad7d763bfc70fbd9a23104fc18a18d7 (patch)
treea7b5943dfa3eecf143d19765657b05c65c475889 /gst/y4m
parent5b785f51caf454d819199079de00b4a3d0034677 (diff)
parent409816b5baaecdf61819c23475ad77d3ed9811b8 (diff)
downloadgstreamer-plugins-bad-699677ed8ad7d763bfc70fbd9a23104fc18a18d7.tar.gz
Merge remote-tracking branch 'origin/master' into 0.11
Diffstat (limited to 'gst/y4m')
-rw-r--r--gst/y4m/gsty4mdec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/y4m/gsty4mdec.c b/gst/y4m/gsty4mdec.c
index 277bb1ffe..d61c4b3ad 100644
--- a/gst/y4m/gsty4mdec.c
+++ b/gst/y4m/gsty4mdec.c
@@ -586,6 +586,9 @@ gst_y4m_dec_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
}
res = TRUE;
+ /* not sure why it's not forwarded, but let's unref it so it
+ doesn't leak, remove the unref if it gets forwarded again */
+ gst_event_unref (event);
//res = gst_pad_push_event (y4mdec->srcpad, event);
}
break;