gstcaps: Make sure _normalize() is applied on all structures.
authorEdward Hervey <bilboed@bilboed.com>
Thu, 1 Jul 2010 15:56:33 +0000 (17:56 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 1 Jul 2010 16:17:40 +0000 (18:17 +0200)
commit70d1f1f177fae7c5743ec7614d152f5cbe80a9d9
treec03c368d558d59edc9959b9437c71d21648e849a
parentcda5a353d27326c0272a79c92c11c221a4092da4
gstcaps: Make sure _normalize() is applied on all structures.

We need to use gst_caps_get_size() in the loop counter since some
structures could be added while iterating.

Fixes #623301
gst/gstcaps.c
tests/check/gst/gstcaps.c