After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 320110 - gst_caps_normalize() doesn't do what it says it does
gst_caps_normalize() doesn't do what it says it does
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-28 17:35 UTC by Michael Smith
Modified: 2005-11-22 10:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Smith 2005-10-28 17:35:19 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.
Comment 1 Michael Smith 2005-11-22 10:46:48 UTC
I was wrong. I thought I'd seen this behaviour, but tests show otherwise.
Rereading the implementation shows it to be correct.