videocontext: Remove the explicit unrefing of pad object getting from iterator.

This commit is contained in:
Sreerenj Balachandran 2012-05-01 17:55:02 +03:00 committed by Sebastian Dröge
parent 37bac4c1ed
commit 99b6f14486

View file

@ -192,7 +192,6 @@ gst_video_context_pad_query (const GValue * item, GValue * value,
gboolean res; gboolean res;
res = gst_pad_peer_query (pad, query); res = gst_pad_peer_query (pad, query);
gst_object_unref (pad);
if (res) { if (res) {
g_value_set_boolean (value, TRUE); g_value_set_boolean (value, TRUE);