ghostpad: set result on accept caps query when there is no peer

This commit is contained in:
Matej Knopp 2012-04-28 21:37:56 +02:00 committed by Sebastian Dröge
parent 1b87a07d8e
commit 5c50c6612a

View 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;