[Bug 709455] dlnasrc: new manager type element used for dlna specific HTTP transfers

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 5 15:54:23 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=709455
  GStreamer | gst-plugins-bad | 1.x

--- Comment #12 from Brendan Long <self at brendanlong.com> 2013-11-05 23:54:16 UTC ---
You might be able to use something in GType to do this, like g_type_is_a:

https://developer.gnome.org/gobject/stable/gobject-Type-Information.html#g-type-is-a

For example:

    bool is_dlnasrc = g_type_is_a (G_OBJECT_TYPE (src), G_TYPE_DLNASRC);

That assumes you can #include the header with G_TYPE_DLNASRC though. There's
also g_type_name if you can't do that:

https://developer.gnome.org/gobject/stable/gobject-Type-Information.html#g-type-name

This does seem kind of hacky though, so I'm not sure how the GStreamer
maintainers will feel about it.

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