diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-08-14 09:21:25 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-08-14 09:21:25 +0200 |
commit | 3ede3105d608fce2ccd6659eee02c6506bd75319 (patch) | |
tree | 8fce90d363d903d3a95c4b55de07e75791fd48b1 /gst/goom | |
parent | 68a9209408c51d822d2a28239a86d6311a4bbd22 (diff) |
goom: Rename get_type() function of base class to prevent symbol conflicts
This is a problem when statically linking.
Diffstat (limited to 'gst/goom')
-rw-r--r-- | gst/goom/gstaudiovisualizer.c | 2 | ||||
-rw-r--r-- | gst/goom/gstaudiovisualizer.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gst/goom/gstaudiovisualizer.c b/gst/goom/gstaudiovisualizer.c index 3e8f3c3ef..e643de49a 100644 --- a/gst/goom/gstaudiovisualizer.c +++ b/gst/goom/gstaudiovisualizer.c @@ -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; diff --git a/gst/goom/gstaudiovisualizer.h b/gst/goom/gstaudiovisualizer.h index 0fdb1fa3d..ea8444b61 100644 --- a/gst/goom/gstaudiovisualizer.h +++ b/gst/goom/gstaudiovisualizer.h @@ -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__ */ |