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 302625 - mad element doesn't report bitrate for mp3 files with no xing header
mad element doesn't report bitrate for mp3 files with no xing header
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-05-01 14:15 UTC by Jonathan Matthew
Modified: 2005-05-02 09:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed fix (1.85 KB, patch)
2005-05-01 14:17 UTC, Jonathan Matthew
none Details | Review

Description Jonathan Matthew 2005-05-01 14:15:36 UTC
1. gst-launch-0.8 -t filesrc location=mp3file_with_no_xing_header.mp3 ! \
        decodebin ! fakesink
2. observe lack of bitrate information

The naive patch I'm playing with (attached shortly) seems to fix this, and the
bitrate information reported is, well, good enough for me.  I'm not sure
reporting every bitrate change is a good idea, but I don't think dropping that
information on the floor is better.
Comment 1 Jonathan Matthew 2005-05-01 14:17:11 UTC
Created attachment 45903 [details] [review]
proposed fix

pretty dumb, but it seems to work
Comment 2 Ronald Bultje 2005-05-02 09:31:29 UTC
I changed the patch halfly to do it right, thanks for the work, fixed in CVS.