video: Convert info_to_caps to take self as const ptr
authorMarijn Suijten <marijns95@gmail.com>
Tue, 12 Jan 2021 09:36:34 +0000 (10:36 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 14 Jan 2021 08:14:36 +0000 (08:14 +0000)
commit1f06cf60e7707b96c0d4c30d774c7ca2efa7de97
tree73e9246eebfebdada5b482acc9530bed66c980e2
parentb60951a4fa0da18113006bb5f96c239745737317
video: Convert info_to_caps to take self as const ptr

This requires a slight modification to the function itself because it
was overwriting a member locally.

However, now this side-effect cannot be observed outside the function
anymore.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1008>
gst-libs/gst/video/video-info.c
gst-libs/gst/video/video-info.h