diff options
Diffstat (limited to 'ext/theora/gsttheoraenc.c')
-rw-r--r-- | ext/theora/gsttheoraenc.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/ext/theora/gsttheoraenc.c b/ext/theora/gsttheoraenc.c index ced73d186..26c5ea350 100644 --- a/ext/theora/gsttheoraenc.c +++ b/ext/theora/gsttheoraenc.c @@ -152,12 +152,6 @@ granulepos_to_timestamp (GstTheoraEnc * theoraenc, ogg_int64_t granulepos) theoraenc->info.fps_numerator); } -static const GstElementDetails theora_enc_details = -GST_ELEMENT_DETAILS ("Theora video encoder", - "Codec/Encoder/Video", - "encode raw YUV video to a theora stream", - "Wim Taymans <wim@fluendo.com>"); - static GstStaticPadTemplate theora_enc_sink_factory = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, @@ -213,7 +207,10 @@ gst_theora_enc_base_init (gpointer g_class) gst_static_pad_template_get (&theora_enc_src_factory)); gst_element_class_add_pad_template (element_class, gst_static_pad_template_get (&theora_enc_sink_factory)); - gst_element_class_set_details (element_class, &theora_enc_details); + gst_element_class_set_details_simple (element_class, + "Theora video encoder", "Codec/Encoder/Video", + "encode raw YUV video to a theora stream", + "Wim Taymans <wim@fluendo.com>"); } static void |