diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-04-10 00:51:41 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-04-10 00:51:41 +0100 |
commit | e09ae5736d58df9fb6ea9ba6aebafee797f60919 (patch) | |
tree | 31d463d69cd2bedb72de5927834097b4c6f73e99 /ext/libpng | |
parent | be9baf1a0ba04d338aaa5e64eaddbc3eb32f0b59 (diff) |
Use new gst_element_class_set_static_metadata()
Diffstat (limited to 'ext/libpng')
-rw-r--r-- | ext/libpng/gstpngdec.c | 2 | ||||
-rw-r--r-- | ext/libpng/gstpngenc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c index 9e0cbe709..74d8edf68 100644 --- a/ext/libpng/gstpngdec.c +++ b/ext/libpng/gstpngdec.c @@ -88,7 +88,7 @@ gst_pngdec_class_init (GstPngDecClass * klass) gst_static_pad_template_get (&gst_pngdec_src_pad_template)); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&gst_pngdec_sink_pad_template)); - gst_element_class_set_details_simple (gstelement_class, "PNG image decoder", + gst_element_class_set_static_metadata (gstelement_class, "PNG image decoder", "Codec/Decoder/Image", "Decode a png video frame to a raw image", "Wim Taymans <wim@fluendo.com>"); diff --git a/ext/libpng/gstpngenc.c b/ext/libpng/gstpngenc.c index 963405a81..2c5e71bb8 100644 --- a/ext/libpng/gstpngenc.c +++ b/ext/libpng/gstpngenc.c @@ -126,7 +126,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_static_metadata (element_class, "PNG image encoder", "Codec/Encoder/Image", "Encode a video frame to a .png image", "Jeremy SIMON <jsimon13@yahoo.fr>"); |