mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
This commit is contained in:
parent
829c80ce6c
commit
a32398fee5
5 changed files with 5 additions and 5 deletions
|
@ -164,7 +164,7 @@ gst_jpeg_dec_class_init (GstJpegDecClass * klass)
|
|||
gst_static_pad_template_get (&gst_jpeg_dec_src_pad_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_jpeg_dec_sink_pad_template));
|
||||
gst_element_class_set_details_simple (element_class, "JPEG image decoder",
|
||||
gst_element_class_set_metadata (element_class, "JPEG image decoder",
|
||||
"Codec/Decoder/Image",
|
||||
"Decode images from JPEG format", "Wim Taymans <wim@fluendo.com>");
|
||||
|
||||
|
|
|
@ -152,7 +152,7 @@ gst_jpegenc_class_init (GstJpegEncClass * klass)
|
|||
gst_static_pad_template_get (&gst_jpegenc_sink_pad_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_jpegenc_src_pad_template));
|
||||
gst_element_class_set_details_simple (element_class, "JPEG image encoder",
|
||||
gst_element_class_set_metadata (element_class, "JPEG image encoder",
|
||||
"Codec/Encoder/Image",
|
||||
"Encode images in JPEG format", "Wim Taymans <wim.taymans@tvd.be>");
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ gst_pngdec_class_init (GstPngDecClass * klass)
|
|||
gst_static_pad_template_get (&gst_pngdec_src_pad_template));
|
||||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&gst_pngdec_sink_pad_template));
|
||||
gst_element_class_set_details_simple (element_class, "PNG image decoder",
|
||||
gst_element_class_set_metadata (element_class, "PNG image decoder",
|
||||
"Codec/Decoder/Image",
|
||||
"Decode a png video frame to a raw image",
|
||||
"Wim Taymans <wim@fluendo.com>");
|
||||
|
|
|
@ -131,7 +131,7 @@ gst_pngenc_class_init (GstPngEncClass * klass)
|
|||
(element_class, gst_static_pad_template_get (&pngenc_sink_template));
|
||||
gst_element_class_add_pad_template
|
||||
(element_class, gst_static_pad_template_get (&pngenc_src_template));
|
||||
gst_element_class_set_details_simple (element_class, "PNG image encoder",
|
||||
gst_element_class_set_metadata (element_class, "PNG image encoder",
|
||||
"Codec/Encoder/Image",
|
||||
"Encode a video frame to a .png image",
|
||||
"Jeremy SIMON <jsimon13@yahoo.fr>");
|
||||
|
|
|
@ -638,7 +638,7 @@ test_mp3_enc_class_init (TestMp3EncClass * klass)
|
|||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_template));
|
||||
|
||||
gst_element_class_set_details_simple (element_class, "MPEG1 Audio Encoder",
|
||||
gst_element_class_set_metadata (element_class, "MPEG1 Audio Encoder",
|
||||
"Codec/Encoder/Audio", "Pretends to encode mp3", "Foo Bar <foo@bar.com>");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue