[Bug 758754] oggdemux: failing to play an Opus sample file
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Nov 28 07:08:26 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=758754
--- Comment #4 from Luis de Bethencourt <luis at debethencourt.com> ---
Created attachment 316445
--> https://bugzilla.gnome.org/attachment.cgi?id=316445&action=edit
codec-utils: accept wrong version field in OpusHead header
With this patch the file plays. And also this other sample which didn't:
http://xiph.org/~giles/2012/opus/ehren-paper_lights-64.opus
Problem was that the version field in the OpusHead header is wrong (0 instead
of 1). Strange since 1 is the initial version of the spec.
https://wiki.xiph.org/OggOpus
The patch checks for the version and if it is wrong it logs the error and
continues playing the file, instead of considering the file wrong.
Alternatively, it could check for both 0x00 and 0x01. Or it could just skip
that field with gst_byte_reader_skip ().
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the gstreamer-bugs
mailing list