va: Refactor _change_resolution() to _update_frame_size().
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sat, 17 Jul 2021 18:37:52 +0000 (20:37 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sat, 17 Jul 2021 18:51:29 +0000 (20:51 +0200)
commitd2d7ce7157be5680ae985d6824fa18293c7cce44
tree192daa2746f514581ad88e0061450fad15758341
parent1bf2805560feb8cc890850b74dd75d737d5bdb04
va: Refactor _change_resolution() to _update_frame_size().

Rename gst_va_decoder_change_resolution() to
gst_va_decoder_update_frame_size() which resembles
gst_va_decoder_set_frame_size().

Also added a comment to clarify the function use and makes more
specific the error message.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2417>
sys/va/gstvadecoder.c
sys/va/gstvadecoder.h
sys/va/gstvavp9dec.c