ghostpad: set result on accept caps query when there is no peer
authorMatej Knopp <matej.knopp@gmail.com>
Sat, 28 Apr 2012 19:37:56 +0000 (21:37 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 1 May 2012 11:32:41 +0000 (13:32 +0200)
gst/gstghostpad.c

index 7a8947d..f9b8368 100644 (file)
@@ -207,6 +207,7 @@ gst_proxy_pad_query_default (GstPad * pad, GstObject * parent, GstQuery * query)
         GST_DEBUG_OBJECT (pad, "no target");
         /* We don't have a target, we return TRUE and we assume that any future
          * target will be able to deal with any configured caps. */
+        gst_query_set_accept_caps_result (query, TRUE);
         res = TRUE;
       }
       break;