summaryrefslogtreecommitdiffstats
path: root/ext/libpng
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libpng')
-rw-r--r--ext/libpng/gstpngdec.c11
-rw-r--r--ext/libpng/gstpngenc.c11
2 files changed, 10 insertions, 12 deletions
diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c
index 9bf672ce..9e262b59 100644
--- a/ext/libpng/gstpngdec.c
+++ b/ext/libpng/gstpngdec.c
@@ -23,12 +23,11 @@
#include <gst/video/video.h>
#include <gst/gst-i18n-plugin.h>
-static GstElementDetails gst_pngdec_details = {
- "PNG decoder",
- "Codec/Decoder/Image",
- "Decode a png video frame to a raw image",
- "Wim Taymans <wim@fluendo.com>",
-};
+static GstElementDetails gst_pngdec_details =
+GST_ELEMENT_DETAILS ("PNG image decoder",
+ "Codec/Decoder/Image",
+ "Decode a png video frame to a raw image",
+ "Wim Taymans <wim@fluendo.com>");
GST_DEBUG_CATEGORY (pngdec_debug);
#define GST_CAT_DEFAULT pngdec_debug
diff --git a/ext/libpng/gstpngenc.c b/ext/libpng/gstpngenc.c
index be0830ab..f6d7a23d 100644
--- a/ext/libpng/gstpngenc.c
+++ b/ext/libpng/gstpngenc.c
@@ -28,12 +28,11 @@
#define MAX_HEIGHT 4096
-static GstElementDetails gst_pngenc_details = {
- "PNG encoder",
- "Codec/Encoder/Image",
- "Encode a video frame to a .png image",
- "Jeremy SIMON <jsimon13@yahoo.fr>",
-};
+static GstElementDetails gst_pngenc_details =
+GST_ELEMENT_DETAILS ("PNG image encoder",
+ "Codec/Encoder/Image",
+ "Encode a video frame to a .png image",
+ "Jeremy SIMON <jsimon13@yahoo.fr>");
GST_DEBUG_CATEGORY (pngenc_debug);
#define GST_CAT_DEFAULT pngenc_debug