diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-01-13 00:11:54 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-01-13 00:11:54 +0000 |
commit | 699677ed8ad7d763bfc70fbd9a23104fc18a18d7 (patch) | |
tree | a7b5943dfa3eecf143d19765657b05c65c475889 /gst/y4m | |
parent | 5b785f51caf454d819199079de00b4a3d0034677 (diff) | |
parent | 409816b5baaecdf61819c23475ad77d3ed9811b8 (diff) | |
download | gstreamer-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.c | 3 |
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; |