diff options
Diffstat (limited to 'gst/real/gstrealaudiodec.c')
-rw-r--r-- | gst/real/gstrealaudiodec.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gst/real/gstrealaudiodec.c b/gst/real/gstrealaudiodec.c index 7ccc1db77..b3f2ad52e 100644 --- a/gst/real/gstrealaudiodec.c +++ b/gst/real/gstrealaudiodec.c @@ -31,11 +31,6 @@ GST_DEBUG_CATEGORY_STATIC (real_audio_dec_debug); #define GST_CAT_DEFAULT real_audio_dec_debug -static GstElementDetails real_audio_dec_details = -GST_ELEMENT_DETAILS ("RealAudio decoder", - "Codec/Decoder/Audio", "Decoder for RealAudio streams", - "Lutz Mueller <lutz@topfrose.de>"); - static GstStaticPadTemplate snk_t = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS ("audio/x-pn-realaudio, " @@ -568,7 +563,9 @@ gst_real_audio_dec_base_init (gpointer g_class) gst_element_class_add_pad_template (ec, gst_static_pad_template_get (&snk_t)); gst_element_class_add_pad_template (ec, gst_static_pad_template_get (&src_t)); - gst_element_class_set_details (ec, &real_audio_dec_details); + gst_element_class_set_details_simple (ec, "RealAudio decoder", + "Codec/Decoder/Audio", "Decoder for RealAudio streams", + "Lutz Mueller <lutz@topfrose.de>"); } static GstStateChangeReturn |