videocontext: Remove the explicit unrefing of pad object getting from iterator.
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 1 May 2012 14:55:02 +0000 (17:55 +0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 4 May 2012 08:21:05 +0000 (10:21 +0200)
gst-libs/gst/video/videocontext.c

index 489cf06a70302af42d64c6d0a6c69a049abfe078..e84aa213b97ff1efb2cefef3b06d56c2dcc40e7d 100644 (file)
@@ -192,7 +192,6 @@ gst_video_context_pad_query (const GValue * item, GValue * value,
   gboolean res;
 
   res = gst_pad_peer_query (pad, query);
-  gst_object_unref (pad);
 
   if (res) {
     g_value_set_boolean (value, TRUE);