playsink: call the right default query handler
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 2 Feb 2012 11:14:15 +0000 (12:14 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 2 Feb 2012 11:14:15 +0000 (12:14 +0100)
We need to call the default query handler of the proxy pad because only that one
will forward the query to the target pad in case of the allocation query.

gst/playback/gstplaysinkconvertbin.c

index 692bb1b..1a78d46 100644 (file)
@@ -467,7 +467,7 @@ gst_play_sink_convert_bin_query (GstPad * pad, GstObject * parent,
       break;
     }
     default:
-      res = gst_pad_query_default (pad, parent, query);
+      res = gst_proxy_pad_query_default (pad, parent, query);
       break;
   }
   return res;