mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
pulse: fix check for empty caps
This commit is contained in:
parent
05c025de6d
commit
65c71b0717
1 changed files with 1 additions and 1 deletions
|
@ -806,7 +806,7 @@ gst_pulse_audio_sink_sink_acceptcaps (GstPad * pad, GstCaps * caps)
|
||||||
gboolean ret = FALSE;
|
gboolean ret = FALSE;
|
||||||
|
|
||||||
pad_caps = gst_pad_get_caps (pad, caps);
|
pad_caps = gst_pad_get_caps (pad, caps);
|
||||||
if (!pad_caps || !gst_caps_is_empty (pad_caps))
|
if (!pad_caps || gst_caps_is_empty (pad_caps))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
/* If we've not got fixed caps, creating a stream might fail, so let's just
|
/* If we've not got fixed caps, creating a stream might fail, so let's just
|
||||||
|
|
Loading…
Reference in a new issue