validate: transcoding: don't leak the requested sinkpad from decodebin

This commit is contained in:
Guillaume Desmottes 2015-03-27 16:00:19 +01:00 committed by Thibault Saunier
parent c8e6b90f4b
commit 8b84f76df4

View file

@ -545,6 +545,7 @@ pad_added_cb (GstElement * uridecodebin, GstPad * pad, GstElement * encodebin)
gst_caps_unref (othercaps); gst_caps_unref (othercaps);
} }
gst_object_unref (sinkpad);
return; return;
} }