mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
goom: Rename get_type() function of base class to prevent symbol conflicts
This is a problem when statically linking.
This commit is contained in:
parent
68a9209408
commit
3ede3105d6
4 changed files with 6 additions and 6 deletions
|
@ -543,7 +543,7 @@ gst_audio_visualizer_change_shader (GstAudioVisualizer * scope)
|
|||
/* class */
|
||||
|
||||
GType
|
||||
gst_audio_visualizer_get_type (void)
|
||||
goom_gst_audio_visualizer_get_type (void)
|
||||
{
|
||||
static volatile gsize audio_visualizer_type = 0;
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <gst/base/gstadapter.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
#define GST_TYPE_AUDIO_VISUALIZER (gst_audio_visualizer_get_type())
|
||||
#define GST_TYPE_AUDIO_VISUALIZER (goom_gst_audio_visualizer_get_type())
|
||||
#define GST_AUDIO_VISUALIZER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUDIO_VISUALIZER,GstAudioVisualizer))
|
||||
#define GST_AUDIO_VISUALIZER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUDIO_VISUALIZER,GstAudioVisualizerClass))
|
||||
#define GST_AUDIO_VISUALIZER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj),GST_TYPE_AUDIO_VISUALIZER,GstAudioVisualizerClass))
|
||||
|
@ -99,7 +99,7 @@ struct _GstAudioVisualizerClass
|
|||
gboolean (*decide_allocation) (GstAudioVisualizer * scope, GstQuery *query);
|
||||
};
|
||||
|
||||
GType gst_audio_visualizer_get_type (void);
|
||||
GType goom_gst_audio_visualizer_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
#endif /* __GST_AUDIO_VISUALIZER_H__ */
|
||||
|
|
|
@ -543,7 +543,7 @@ gst_audio_visualizer_change_shader (GstAudioVisualizer * scope)
|
|||
/* class */
|
||||
|
||||
GType
|
||||
gst_audio_visualizer_get_type (void)
|
||||
goom2k1_gst_audio_visualizer_get_type (void)
|
||||
{
|
||||
static volatile gsize audio_visualizer_type = 0;
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <gst/base/gstadapter.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
#define GST_TYPE_AUDIO_VISUALIZER (gst_audio_visualizer_get_type())
|
||||
#define GST_TYPE_AUDIO_VISUALIZER (goom2k1_gst_audio_visualizer_get_type())
|
||||
#define GST_AUDIO_VISUALIZER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUDIO_VISUALIZER,GstAudioVisualizer))
|
||||
#define GST_AUDIO_VISUALIZER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUDIO_VISUALIZER,GstAudioVisualizerClass))
|
||||
#define GST_AUDIO_VISUALIZER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj),GST_TYPE_AUDIO_VISUALIZER,GstAudioVisualizerClass))
|
||||
|
@ -99,7 +99,7 @@ struct _GstAudioVisualizerClass
|
|||
gboolean (*decide_allocation) (GstAudioVisualizer * scope, GstQuery *query);
|
||||
};
|
||||
|
||||
GType gst_audio_visualizer_get_type (void);
|
||||
GType goom2k1_gst_audio_visualizer_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
#endif /* __GST_AUDIO_VISUALIZER_H__ */
|
||||
|
|
Loading…
Reference in a new issue