[Bug 733405] riff: wrong channel mask in wav should be ignored

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Oct 3 04:10:55 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=733405
  GStreamer | gst-plugins-base | git

--- Comment #6 from Peter G. Baum <peter at dr-baum.net> 2014-10-03 11:10:52 UTC ---
After looking at some WAVEFORMATEXTENSIBLE examples, I think Nicolas has a
point.

WAVEFORMATEXTENSIBLE allows partial layout information (and I downloaded
wav-file, which has it), so we should allow it, too, to not loose information.

Microsoft has an example:
http://msdn.microsoft.com/en-us/library/windows/hardware/dn653308%28v=vs.85%29.aspx.
At this side there is an example wav file:
http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/Samples.html.
And with the MPEG-H standard, there are more use cases (Channels + Object +
HOA).

If other plug-ins don't support it, we have to fix them if needed.
That means with this patch:
- files with more bits in channel_mask than channels are read, instead of
giving an error.
- files with partial valid information are read and give perhaps later in the
pipeline an error, instead of giving an error while reading the file.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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