[Bug 789458] New: gst-plugins-base: gstaudiochannels: Handled buffer mapping failure

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 25 07:23:54 UTC 2017


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

            Bug ID: 789458
           Summary: gst-plugins-base: gstaudiochannels: Handled buffer
                    mapping failure
    Classification: Platform
           Product: GStreamer
           Version: 1.12.3
                OS: All
            Status: NEW
          Severity: minor
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: kr.ashish at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Buffer mapping failure must be handled at below code:-
File: gst-plugins-base-1.12.3/gst-libs/gst/audio/audio-channels.c
Function: gst_audio_buffer_reorder_channels
...
  if (gst_audio_channel_positions_equal (from, to, channels))
    return TRUE;

  gst_buffer_map (buffer, &info, GST_MAP_READWRITE);

  ret =
      gst_audio_reorder_channels (info.data, info.size, format, channels, from,
      to);

  gst_buffer_unmap (buffer, &info);
...

Failure of function gst_buffer_map must be handled.

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