GNOME Bugzilla – Bug 760705
utils: Add gst_object_(g|s)et_(string|int|...) functions
Last modified: 2018-11-03 12:32:38 UTC
It's easy to get the type of properties wrong in the varargs functions, especially for 64 bit integers. We could provide helper functions that are typed and for one specific property, and also do checks in there if the types are matching with the one of the property.
I've been wanting this for ages, so +1 from me. Should really be added to GObject, but last time I checked GLib people were indifferent at best, but perhaps we should ask again before we merge it on our end.
Yeah that would be very useful but should definitely go into GObject!
We'll have to check if they want it though, I remembered Tim saying that they were not too convinced. So, if they don't want it (we should try that first of course), should we add it nonetheless in our namespace?
Well, things change, so might still be worth checking with them first. I'd say make the patch for GstObject, then we can ask and if they say no we push it on our end.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/153.