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/4689>
This commit is contained in:
Seungha Yang 2022-07-05 04:42:57 +09:00 committed by Tim-Philipp Müller
parent f984d775e8
commit c7d48d294e

View 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;