From 7753feb4fd9e6c0c8f440f6ed7e6935181a4ff46 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 4 Nov 2011 16:21:13 +0100 Subject: [PATCH] pulseaudiosink: more 0.11 fixing Make sure the caps event gets to the sink. --- ext/pulse/pulseaudiosink.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/pulse/pulseaudiosink.c b/ext/pulse/pulseaudiosink.c index b8e1e2c..5aed976 100644 --- a/ext/pulse/pulseaudiosink.c +++ b/ext/pulse/pulseaudiosink.c @@ -649,8 +649,10 @@ proxypad_blocked_cb (GstPad * pad, GstPadProbeType ptype, gpointer type_data, GST_DEBUG_OBJECT (pbin, "Removing decodebin"); gst_pulse_audio_sink_free_dbin (pbin); gst_pulse_audio_sink_update_sinkpad (pbin, sinkpad); - } else + } else { GST_DEBUG_OBJECT (pbin, "Doing nothing"); + gst_pad_send_event (sinkpad, gst_event_new_caps (caps)); + } gst_caps_unref (caps); gst_object_unref (sinkpad); -- 2.7.4