mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +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;
|
||||
|
||||
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;
|
||||
|
||||
/* If we've not got fixed caps, creating a stream might fail, so let's just
|
||||
|
|
Loading…
Reference in a new issue