Skip to content

gstaudiostreamalign: Pass self as const pointer in getter functions

It was noticed in 1 that GstAudioStreamAlign is a simple boxed type that is passed as const in the copy function, but not as such in the getters. These functions turn out to be the only users of const = true overrides in gstreamer-rs. Since there is no locking or other advanced caching/sharing going on (as happens with miniobjects) these functions can safely take self as const pointer.

CC @slomo

Merge request reports

Loading