otherpad = render->srcpad;
/* we can do what the peer can */
- caps = gst_pad_peer_get_caps (otherpad, filter);
+ caps = gst_pad_peer_query_caps (otherpad, filter);
if (caps) {
GstCaps *temp;
const GstCaps *templ;
GST_DEBUG_OBJECT (scope, "performing negotiation");
/* see what the peer can do */
- othercaps = gst_pad_peer_get_caps (scope->srcpad, NULL);
+ othercaps = gst_pad_peer_query_caps (scope->srcpad, NULL);
if (othercaps) {
target = gst_caps_intersect (othercaps, templ);
gst_caps_unref (othercaps);
otherpad = render->srcpad;
/* we can do what the peer can */
- caps = gst_pad_peer_get_caps (otherpad, filter);
+ caps = gst_pad_peer_query_caps (otherpad, filter);
if (caps) {
GstCaps *temp;
const GstCaps *templ;
* subpicture sink pad */
otherpad = (pad == dvdspu->srcpad) ? dvdspu->videosinkpad : dvdspu->srcpad;
- caps = gst_pad_peer_get_caps (otherpad, filter);
+ caps = gst_pad_peer_query_caps (otherpad, filter);
if (caps) {
GstCaps *temp;
const GstCaps *templ;