projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7fac4d
)
caps: fix compilation
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 7 Nov 2011 09:40:23 +0000
(10:40 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 7 Nov 2011 09:40:23 +0000
(10:40 +0100)
gst/gstcaps.c
patch
|
blob
|
history
diff --git
a/gst/gstcaps.c
b/gst/gstcaps.c
index
b069c20
..
365b728
100644
(file)
--- a/
gst/gstcaps.c
+++ b/
gst/gstcaps.c
@@
-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;