[Bug 765663] New: gst_audio_buffer_clip() needs const on segment

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 27 09:21:47 UTC 2016


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

            Bug ID: 765663
           Summary: gst_audio_buffer_clip() needs const on segment
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: kipp at resceu.s.u-tokyo.ac.jp
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 326849
  --> https://bugzilla.gnome.org/attachment.cgi?id=326849&action=edit
add const qualifier to segment argument

gst_audio_buffer_clip()'s segment argument should be const.  it doesn't modify
it, passes it only to other functions that already have the const qualifier,
and without it some gymnastics are required to use gst_audio_buffer_clip() with
the segment reference returned by gst_event_parse_segment().

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