[Bug 711681] Remove usage of deprecated GValueArray in rtpsession

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 11 00:51:07 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=711681
  GStreamer | gst-plugins-good | git

--- Comment #7 from Christian Nilsson <krille.nilsson at gmail.com> 2013-11-11 08:51:05 UTC ---
Ok I see, but how can one for example know that there are GObjects and not for
example guint's in the GValues?

I guess the only documentation for this is in the code when you install the
property?

g_object_class_install_property (gobject_class, PROP_SOURCES,                  
     g_param_spec_boxed ("sources", "Sources",                                  
          "An array of all known sources in the session",                       
          G_TYPE_VALUE_ARRAY, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); 

If one were to specify that for example "An array of all known sources in the
session stored as GValues", wouldnt that be sufficient?

I understand that it would be hard to do a non backwards compatible interface
change, but would it be possible to extend the interface with a new parameter
that uses this?

I dont thing GLib will un-deprecate their type anytime soon...

Let me know what you think!

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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