mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
webrtcbin: Filter caps isn't fixed
Fix an assertion because the filter paramter passed to gst_caps_is_equal_fixed() wasn't fixed. So use the regular gst_caps_is_equal() instead. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2175>
This commit is contained in:
parent
f72df7d4c4
commit
813a320c06
1 changed files with 1 additions and 1 deletions
|
@ -1545,7 +1545,7 @@ _find_codec_preferences (GstWebRTCBin * webrtc,
|
|||
GST_LOG_OBJECT (webrtc, "Using peer query caps: %" GST_PTR_FORMAT,
|
||||
caps);
|
||||
|
||||
if (!gst_caps_is_fixed (caps) || gst_caps_is_equal_fixed (caps, filter)
|
||||
if (!gst_caps_is_fixed (caps) || gst_caps_is_equal (caps, filter)
|
||||
|| gst_caps_is_empty (caps) || gst_caps_is_any (caps)) {
|
||||
gst_caps_unref (caps);
|
||||
caps = NULL;
|
||||
|
|
Loading…
Reference in a new issue