[Bug 769390] wavparse: Add bitrate and container format tags

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 2 09:37:49 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=769390

--- Comment #7 from Carlos Rafael Giani <dv at pseudoterminal.org> ---
bps actually comes from the RIFF WAV header. It is the "ByteRate" field in this
spec: http://soundfile.sapp.org/doc/WaveFormat/

so even if it is set for compressed formats, it is still a valid value that
should be interpreted as a bitrate. This is also why I didn't mention the word
"uncompressed" in the comments. bps is also used this way in the
gst_wavparse_calculate_duration() function.

(bps is manually set to zero for MPEG audio formats in the wavparse code here:
https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/wavparse/gstwavparse.c#n1182
)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list