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 769418 - asfdemux: Add byte rate based bitrate tag in case there are no audio props
asfdemux: Add byte rate based bitrate tag in case there are no audio props
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other Linux
: Normal enhancement
: 1.9.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-08-02 11:37 UTC by Carlos Rafael Giani
Modified: 2016-08-02 11:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fallback bitrate tag for asfdemux audio streams (1.46 KB, patch)
2016-08-02 11:39 UTC, Carlos Rafael Giani
committed Details | Review

Description Carlos Rafael Giani 2016-08-02 11:37:45 UTC
Some ASF files have no props object for audio data. In this case, no bitrate tag will be added. Fix this by falling back to the byte_rate value and generating a bitrate tag out of it.
Comment 1 Carlos Rafael Giani 2016-08-02 11:39:19 UTC
Created attachment 332541 [details] [review]
Fallback bitrate tag for asfdemux audio streams
Comment 2 Sebastian Dröge (slomo) 2016-08-02 11:41:53 UTC
commit 975f147abebe7e58fc74e8fb34f141ffec18dd06
Author: Carlos Rafael Giani <dv@pseudoterminal.org>
Date:   Tue Aug 2 13:38:25 2016 +0200

    asfdemux: Add byte rate based bitrate tag in case there are no audio props
    
    https://bugzilla.gnome.org/show_bug.cgi?id=769418