[Bug 796704] New: audio:gst_audio_reorder_channels: assertion 'size % ((info->width * channels) / 8) == 0' failed

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 28 12:16:50 UTC 2018


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

            Bug ID: 796704
           Summary: audio:gst_audio_reorder_channels: assertion 'size %
                    ((info->width * channels) / 8) == 0' failed
    Classification: Platform
           Product: GStreamer
           Version: 1.8.3
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: qiang_jsj at live.cn
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 372861
  --> https://bugzilla.gnome.org/attachment.cgi?id=372861&action=edit
fixbug

when I use gstreamer to record,
just like bellow:
gst-launch-1.0 pulsesrc ! capsfilter caps=audio/x-raw,rate=22050,channels=2 !
wavenc name=enc ! filesink location=input.wav
There will be many erros occur:
CRITICAL **: gst_audio_reorder_channels: assertion 'size % ((info->width *
channels) / 8) == 0' failed

I hacked the code, and found the reason.
Size of gstbuffer must round to an integer number of samples, isn't it?
look at my patch, it is perfect.

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