video: convertframe: Remove pointless const qualifier
authorSeungha Yang <seungha@centricular.com>
Mon, 4 Jul 2022 19:42:57 +0000 (04:42 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 22 May 2023 15:27:35 +0000 (16:27 +0100)
const keyword for refcounted object does not very make sense
and unnecessary in this case

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4689>

subprojects/gst-plugins-base/gst-libs/gst/video/convertframe.c

index 56db5d3..d14c755 100644 (file)
@@ -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;