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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Oct 9 03:39:15 PDT 2014


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

--- Comment #11 from Peter G. Baum <peter at dr-baum.net> 2014-10-09 10:39:11 UTC ---
No, in the original code the function returned FALSE if there were more bits in
the mask than channels. And the only function which called it then went:

if ((channel_mask != 0 || strf->channels > 1) &&
            !gst_riff_wavext_add_channel_mask (caps, strf->channels,
                channel_mask, channel_reorder_map)) {
          GST_WARNING ("failed to add channel layout");
          gst_caps_unref (caps);
          caps = NULL;
        }

That means the reading of the file failed.

But I want to have both, that files are read if there are too many or too less
bits set, which was until now not the case.

I can look into audioconvert, but I think it makes sense to first enable the
reading of these files and then fix any plug-ins which cannot cope with it.

-- 
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