_peer_get_caps() -> _peer_query_caps()

This commit is contained in:
Wim Taymans 2011-11-15 17:24:07 +01:00
parent 03713e5045
commit 5231ae7252
4 changed files with 4 additions and 4 deletions

View file

@ -438,7 +438,7 @@ gst_ass_render_getcaps (GstPad * pad, GstCaps * filter)
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;

View file

@ -697,7 +697,7 @@ gst_base_audio_visualizer_src_negotiate (GstBaseAudioVisualizer * scope)
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);

View file

@ -405,7 +405,7 @@ gst_dvbsub_overlay_getcaps (GstPad * pad, GstCaps * filter)
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;

View file

@ -352,7 +352,7 @@ gst_dvd_spu_video_proxy_getcaps (GstPad * pad, GstCaps * filter)
* 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;