mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
caps: fix compilation
This commit is contained in:
parent
b7fac4d093
commit
4fa22944e9
1 changed files with 2 additions and 2 deletions
|
@ -1111,10 +1111,10 @@ gst_caps_is_strictly_equal (const GstCaps * caps1, const GstCaps * caps2)
|
|||
if (G_UNLIKELY (caps1 == NULL || caps2 == NULL))
|
||||
return FALSE;
|
||||
|
||||
if (caps1->structs->len != caps2->structs->len)
|
||||
if (GST_CAPS_LEN (caps1) != GST_CAPS_LEN (caps2))
|
||||
return FALSE;
|
||||
|
||||
for (i = 0; i < caps1->structs->len; i++) {
|
||||
for (i = 0; i < GST_CAPS_LEN (caps1); i++) {
|
||||
if (!gst_structure_is_equal (gst_caps_get_structure_unchecked (caps1, i),
|
||||
gst_caps_get_structure_unchecked (caps2, i)))
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue