diff options
Diffstat (limited to 'ext/theora/gsttheoradec.c')
-rw-r--r-- | ext/theora/gsttheoradec.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/ext/theora/gsttheoradec.c b/ext/theora/gsttheoradec.c index a8b42648c..f2c6fa654 100644 --- a/ext/theora/gsttheoradec.c +++ b/ext/theora/gsttheoradec.c @@ -55,13 +55,6 @@ enum ARG_CROP }; -static const GstElementDetails theora_dec_details = -GST_ELEMENT_DETAILS ("Theora video decoder", - "Codec/Decoder/Video", - "decode raw theora streams to raw YUV video", - "Benjamin Otte <in7y118@public.uni-hamburg.de>, " - "Wim Taymans <wim@fluendo.com>"); - static GstStaticPadTemplate theora_dec_src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, @@ -115,7 +108,10 @@ gst_theora_dec_base_init (gpointer g_class) gst_static_pad_template_get (&theora_dec_src_factory)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&theora_dec_sink_factory)); - gst_element_class_set_details (element_class, &theora_dec_details); + gst_element_class_set_details_simple (element_class, + "Theora video decoder", "Codec/Decoder/Video", + "decode raw theora streams to raw YUV video", + "Benjamin Otte <otte@gnome.org>, Wim Taymans <wim@fluendo.com>"); } static void |