mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
amrwbenc: use different element GType name to avoid conflict with previous plugin
Use a different GType name for the element to avoid 'cannot register existing type' warnings when running 'make check' in the unpacked tarball with the old amrwb plugin also installed as system plugin under the old name (it used to be called 'amrwrb' and now it's 'amrwbenc').
This commit is contained in:
parent
2004db26d7
commit
d652fff690
1 changed files with 5 additions and 2 deletions
|
@ -73,7 +73,7 @@ gst_amrwbenc_bandmode_get_type ()
|
||||||
};
|
};
|
||||||
if (!gst_amrwbenc_bandmode_type) {
|
if (!gst_amrwbenc_bandmode_type) {
|
||||||
gst_amrwbenc_bandmode_type =
|
gst_amrwbenc_bandmode_type =
|
||||||
g_enum_register_static ("GstAmrwbEncBandMode", gst_amrwbenc_bandmode);
|
g_enum_register_static ("GstAmrWbEncBandMode", gst_amrwbenc_bandmode);
|
||||||
}
|
}
|
||||||
return gst_amrwbenc_bandmode_type;
|
return gst_amrwbenc_bandmode_type;
|
||||||
}
|
}
|
||||||
|
@ -132,7 +132,10 @@ _do_init (GType object_type)
|
||||||
"AMR-WB audio encoder");
|
"AMR-WB audio encoder");
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_BOILERPLATE_FULL (GstAmrwbEnc, gst_amrwbenc, GstElement, GST_TYPE_ELEMENT,
|
#define GstAmrWbEnc GstAmrwbEnc
|
||||||
|
#define GstAmrWbEncClass GstAmrwbEncClass
|
||||||
|
|
||||||
|
GST_BOILERPLATE_FULL (GstAmrWbEnc, gst_amrwbenc, GstElement, GST_TYPE_ELEMENT,
|
||||||
_do_init);
|
_do_init);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue