gst_static_pad_template_get (&opus_dec_src_factory));
gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&opus_dec_sink_factory));
- gst_element_class_set_details_simple (element_class, "Opus audio decoder",
+ gst_element_class_set_metadata (element_class, "Opus audio decoder",
"Codec/Decoder/Audio",
"decode opus streams to audio",
"Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>");
gst_static_pad_template_get (&src_factory));
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&sink_factory));
- gst_element_class_set_details_simple (gstelement_class, "Opus audio encoder",
+ gst_element_class_set_metadata (gstelement_class, "Opus audio encoder",
"Codec/Encoder/Audio",
"Encodes audio in Opus format",
"Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>");