summaryrefslogtreecommitdiffstats
path: root/ext/libpng
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libpng')
-rw-r--r--ext/libpng/gstpngdec.c2
-rw-r--r--ext/libpng/gstpngenc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c
index 6fbca483..3be0149d 100644
--- a/ext/libpng/gstpngdec.c
+++ b/ext/libpng/gstpngdec.c
@@ -23,7 +23,7 @@
#include <gst/video/video.h>
#include <gst/gst-i18n-plugin.h>
-static GstElementDetails gst_pngdec_details =
+static const GstElementDetails gst_pngdec_details =
GST_ELEMENT_DETAILS ("PNG image decoder",
"Codec/Decoder/Image",
"Decode a png video frame to a raw image",
diff --git a/ext/libpng/gstpngenc.c b/ext/libpng/gstpngenc.c
index 2078c307..c20b30fb 100644
--- a/ext/libpng/gstpngenc.c
+++ b/ext/libpng/gstpngenc.c
@@ -28,7 +28,7 @@
#define MAX_HEIGHT 4096
-static GstElementDetails gst_pngenc_details =
+static const GstElementDetails gst_pngenc_details =
GST_ELEMENT_DETAILS ("PNG image encoder",
"Codec/Encoder/Image",
"Encode a video frame to a .png image",