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 564206 - GstBaseAudioSrc should register its enum and have corresponding *_get_type() functions
GstBaseAudioSrc should register its enum and have corresponding *_get_type() ...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.22
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-12 02:56 UTC by José Alburquerque
Modified: 2008-12-13 06:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description José Alburquerque 2008-12-12 02:56:26 UTC
+++ This bug was initially created as a clone of Bug #564200 +++

Would it be possible to have GstBaseAudioSsrc register its enum (GstBaseAudioSrcSlaveMethod) with the GType system and have corresponding *_get_type() functions for it?  This is needed so that this base class can be wrapped in the C++ bindings.  Thanks a lot.
Comment 1 Sebastian Dröge (slomo) 2008-12-13 06:56:34 UTC
2008-12-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

	* gst-libs/gst/audio/gstbaseaudiosink.c:
	(gst_base_audio_sink_slave_method_get_type),
	(gst_base_audio_sink_class_init):
	* gst-libs/gst/audio/gstbaseaudiosink.h:
	* gst-libs/gst/audio/gstbaseaudiosrc.c:
	(gst_base_audio_src_slave_method_get_type),
	(gst_base_audio_src_class_init):
	* gst-libs/gst/audio/gstbaseaudiosrc.h:
	API: Add GST_TYPE_BASE_AUDIO_(SRC|SINK)_SLAVE_METHOD to the
	public API. This is needed for the C++ bindings to be able
	to use this base classes. Fixes bug #564200, #564206.