mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
pulseaudiosink: more 0.11 fixing
Make sure the caps event gets to the sink.
This commit is contained in:
parent
f6f8d9bb17
commit
7753feb4fd
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue