mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 18:14:15 +00:00
_peer_get_caps() -> _peer_query_caps()
This commit is contained in:
parent
03713e5045
commit
5231ae7252
4 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue