From 9554a5c7fa5f16a4d55273649665c48e626820fd Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 5 Jul 2022 04:42:57 +0900 Subject: [PATCH] video: convertframe: Remove pointless const qualifier const keyword for refcounted object does not very make sense and unnecessary in this case Part-of: --- .../gst-plugins-base/gst-libs/gst/video/convertframe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/video/convertframe.c b/subprojects/gst-plugins-base/gst-libs/gst/video/convertframe.c index 84a1e5d379..ee1dc07bf5 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/video/convertframe.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/video/convertframe.c @@ -115,8 +115,8 @@ fail: static GstElement * build_convert_frame_pipeline (GstElement ** src_element, - GstElement ** sink_element, const GstCaps * from_caps, - GstVideoCropMeta * cmeta, const GstCaps * to_caps, GError ** err) + GstElement ** sink_element, GstCaps * from_caps, + GstVideoCropMeta * cmeta, GstCaps * to_caps, GError ** err) { GstElement *vcrop = NULL, *csp = NULL, *csp2 = NULL, *vscale = NULL; GstElement *src = NULL, *sink = NULL, *encoder = NULL, *pipeline;