_accept_caps() -> _query_accept_caps()

This commit is contained in:
Wim Taymans 2011-11-15 17:45:31 +01:00
parent 797523efbd
commit 04579335c4

View file

@ -648,7 +648,7 @@ proxypad_blocked_cb (GstPad * pad, GstPadProbeInfo * info, gpointer data)
caps = gst_pad_query_caps (pad, NULL);
}
if (gst_pad_accept_caps (sinkpad, caps)) {
if (gst_pad_query_accept_caps (sinkpad, caps)) {
if (pbin->dbin) {
GST_DEBUG_OBJECT (pbin, "Removing decodebin");
gst_pulse_audio_sink_free_dbin (pbin);