video: convertframe: Remove pointless const qualifier

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/2715>
This commit is contained in:
Seungha Yang 2022-07-05 04:42:57 +09:00 committed by GStreamer Marge Bot
parent b2e121054d
commit 9554a5c7fa

View file

@ -115,8 +115,8 @@ fail:
static GstElement * static GstElement *
build_convert_frame_pipeline (GstElement ** src_element, build_convert_frame_pipeline (GstElement ** src_element,
GstElement ** sink_element, const GstCaps * from_caps, GstElement ** sink_element, GstCaps * from_caps,
GstVideoCropMeta * cmeta, const GstCaps * to_caps, GError ** err) GstVideoCropMeta * cmeta, GstCaps * to_caps, GError ** err)
{ {
GstElement *vcrop = NULL, *csp = NULL, *csp2 = NULL, *vscale = NULL; GstElement *vcrop = NULL, *csp = NULL, *csp2 = NULL, *vscale = NULL;
GstElement *src = NULL, *sink = NULL, *encoder = NULL, *pipeline; GstElement *src = NULL, *sink = NULL, *encoder = NULL, *pipeline;