After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760705 - utils: Add gst_object_(g|s)et_(string|int|...) functions
utils: Add gst_object_(g|s)et_(string|int|...) functions
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-01-16 09:57 UTC by Sebastian Dröge (slomo)
Modified: 2018-11-03 12:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2016-01-16 09:57:36 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.
Comment 1 Tim-Philipp Müller 2016-01-16 10:03:44 UTC
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.
Comment 2 Thibault Saunier 2016-01-16 15:32:49 UTC
Yeah that would be very useful but should definitely go into GObject!
Comment 3 Sebastian Dröge (slomo) 2016-01-16 15:37:41 UTC
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?
Comment 4 Tim-Philipp Müller 2016-01-16 15:42:02 UTC
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.
Comment 5 GStreamer system administrator 2018-11-03 12:32:38 UTC
-- 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.