GNOME Bugzilla – Bug 320110
gst_caps_normalize() doesn't do what it says it does
Last modified: 2005-11-22 10:46:48 UTC
gst_caps_normalize() is documented to expand all lists in the source caps to seperate GstStructures in the newly created caps. The implementation, however, seems to only expand a single list in a structure. So if your caps contains "channels = {1, 2}, rate = {22050, 44100}" it'll only expand the channels, not the rate.
I was wrong. I thought I'd seen this behaviour, but tests show otherwise. Rereading the implementation shows it to be correct.