Commit 34974eed authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

ext/taglib/: Work around compiler warnings with g++-4.2 when assigning a...

ext/taglib/: Work around compiler warnings with g++-4.2 when assigning a string constant to a gchar * (partially fixe...

Original commit message from CVS:
* ext/taglib/gstapev2mux.cc:
* ext/taglib/gstid3v2mux.cc:
Work around compiler warnings with g++-4.2 when assigning a
string constant to a gchar * (partially fixes #478092).
parent 35af248b
2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
* ext/taglib/gstapev2mux.cc:
* ext/taglib/gstid3v2mux.cc:
Work around compiler warnings with g++-4.2 when assigning a
string constant to a gchar * (partially fixes #478092).
2007-09-18 Tim-Philipp Müller <tim at centricular dot net> 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
* configure.ac: * configure.ac:
......
...@@ -64,18 +64,11 @@ using namespace TagLib; ...@@ -64,18 +64,11 @@ using namespace TagLib;
GST_DEBUG_CATEGORY_STATIC (gst_apev2_mux_debug); GST_DEBUG_CATEGORY_STATIC (gst_apev2_mux_debug);
#define GST_CAT_DEFAULT gst_apev2_mux_debug #define GST_CAT_DEFAULT gst_apev2_mux_debug
static const GstElementDetails gst_apev2_mux_details =
GST_ELEMENT_DETAILS ("TagLib-based APEv2 Muxer",
"Formatter/Metadata",
"Adds an APEv2 header to the beginning of files using taglib",
"Sebastian Dröge <slomo@circular-chaos.org>");
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src", static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_SRC,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("application/x-apetag")); GST_STATIC_CAPS ("application/x-apetag"));
GST_BOILERPLATE (GstApev2Mux, gst_apev2_mux, GstTagLibMux, GST_BOILERPLATE (GstApev2Mux, gst_apev2_mux, GstTagLibMux,
GST_TYPE_TAG_LIB_MUX); GST_TYPE_TAG_LIB_MUX);
...@@ -90,7 +83,10 @@ gst_apev2_mux_base_init (gpointer g_class) ...@@ -90,7 +83,10 @@ gst_apev2_mux_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template)); gst_static_pad_template_get (&src_template));
gst_element_class_set_details (element_class, &gst_apev2_mux_details); gst_element_class_set_details_simple (element_class,
"TagLib-based APEv2 Muxer", "Formatter/Metadata",
"Adds an APEv2 header to the beginning of files using taglib",
"Sebastian Dröge <slomo@circular-chaos.org>");
GST_DEBUG_CATEGORY_INIT (gst_apev2_mux_debug, "apev2mux", 0, GST_DEBUG_CATEGORY_INIT (gst_apev2_mux_debug, "apev2mux", 0,
"taglib-based APEv2 tag muxer"); "taglib-based APEv2 tag muxer");
......
...@@ -69,12 +69,6 @@ using namespace TagLib; ...@@ -69,12 +69,6 @@ using namespace TagLib;
GST_DEBUG_CATEGORY_STATIC (gst_id3v2_mux_debug); GST_DEBUG_CATEGORY_STATIC (gst_id3v2_mux_debug);
#define GST_CAT_DEFAULT gst_id3v2_mux_debug #define GST_CAT_DEFAULT gst_id3v2_mux_debug
static const GstElementDetails gst_id3v2_mux_details =
GST_ELEMENT_DETAILS ("TagLib-based ID3v2 Muxer",
"Formatter/Metadata",
"Adds an ID3v2 header to the beginning of MP3 files using taglib",
"Christophe Fergeau <teuf@gnome.org>");
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src", static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_SRC,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
...@@ -95,7 +89,10 @@ gst_id3v2_mux_base_init (gpointer g_class) ...@@ -95,7 +89,10 @@ gst_id3v2_mux_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&src_template)); gst_static_pad_template_get (&src_template));
gst_element_class_set_details (element_class, &gst_id3v2_mux_details); gst_element_class_set_details_simple (element_class,
"TagLib-based ID3v2 Muxer", "Formatter/Metadata",
"Adds an ID3v2 header to the beginning of MP3 files using taglib",
"Christophe Fergeau <teuf@gnome.org>");
GST_DEBUG_CATEGORY_INIT (gst_id3v2_mux_debug, "id3v2mux", 0, GST_DEBUG_CATEGORY_INIT (gst_id3v2_mux_debug, "id3v2mux", 0,
"taglib-based ID3v2 tag muxer"); "taglib-based ID3v2 tag muxer");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment