[Bug 793492] GstAudioConverter: improve bindability

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 15 19:27:19 UTC 2018


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slomo at coaxion.net

--- Comment #15 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Mathieu Duponchelle from comment #9)
> (In reply to Thibault Saunier from comment #6)
> > Review of attachment 368381 [details] [review] [review]:
> > 
> > Why is it necessary? Is it really the expected behaviour to get a copy of it?
> 
> The alternative is to refcount it and ideally make it thread safe, this
> would be possible but Sebastian was of the opinion that there was no real
> use case for that

Refcounting comes with its own set of problems and increases complexity (for
users as well as bindings: consider the thread-safety traits in Rust and their
interaction with refcounting for example), and GstAudioConverter should not
really be shared in different places. You use it from one place, otherwise
you'll run into interesting problems due to it having a sample history, etc.

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