codecs: Stop claiming constness for refcounted object
authorSeungha Yang <seungha@centricular.com>
Sun, 24 Oct 2021 13:07:38 +0000 (22:07 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 6 Feb 2022 17:17:22 +0000 (17:17 +0000)
commit6434d69f8c1ed94271c4fa9c8ce6275106e42dd0
tree1e5996085b48f33396c9e0fc7f0164b2fb203e62
parent499c89c729c8817955956d36e346fb56e769a0ff
codecs: Stop claiming constness for refcounted object

It's almost pointless and makes little sense as subclass might
want to modify refcount of the object or so. And all subclasses
are already casting them to non-const version as well.
In a general sense, we need to avoid passing refcounted object
with const qualifier.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1238>
subprojects/gst-plugins-bad/gst-libs/gst/codecs/gsth264decoder.h
subprojects/gst-plugins-bad/gst-libs/gst/codecs/gstmpeg2decoder.h
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11h264dec.cpp
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11mpeg2dec.cpp
subprojects/gst-plugins-bad/sys/nvcodec/gstnvh264dec.c
subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codech264dec.c
subprojects/gst-plugins-bad/sys/va/gstvah264dec.c
subprojects/gst-plugins-bad/sys/va/gstvampeg2dec.c