libs: context: change function to internal code style
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 29 Jul 2020 10:02:50 +0000 (12:02 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 29 Jul 2020 10:02:50 +0000 (12:02 +0200)
commit83d48837d25aa7876e559bf39e3314d21691f0c7
tree3219006866a3b0f16f116a3de827d98ac0dcd630
parentecd1ca81a7098bcb16a71e9c2f574ac29b8e9166
libs: context: change function to internal code style

Instead of a getter the function `get_preferred_format()` to
`ensure_preferred_format()` which aligns to the code style.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/369>
gst-libs/gst/vaapi/gstvaapicontext.c