mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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:
parent
b2e121054d
commit
9554a5c7fa
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue