GNOME Bugzilla – Bug 765663
gst_audio_buffer_clip() needs const on segment
Last modified: 2016-04-27 09:27:27 UTC
Created attachment 326849 [details] [review] 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().
commit f7a31a79f424c6482d54a5cb3192e6eb101d9c3e Author: Kipp Cannon <kipp.cannon@ligo.org> Date: Wed Apr 27 18:08:46 2016 +0900 audio: Add const to segment parameter of gst_audio_buffer_clip() e.g., allows this to be used with the reference retrieved by gst_event_parse_segment(). https://bugzilla.gnome.org/show_bug.cgi?id=765663