vaapi/encoder: silence a maybe-unitialized warning

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
This commit is contained in:
Matthew Waters 2024-11-13 17:16:42 +11:00
parent 1814d7ae11
commit e993e0e981

View file

@ -554,7 +554,7 @@ get_compatible_profile (GstVaapiEncoder * encoder)
{ {
const GstVaapiEncoderClassData *const cdata = const GstVaapiEncoderClassData *const cdata =
GST_VAAPI_ENCODER_GET_CLASS (encoder)->class_data; GST_VAAPI_ENCODER_GET_CLASS (encoder)->class_data;
GstVaapiProfile profile; GstVaapiProfile profile = GST_VAAPI_PROFILE_UNKNOWN;
GArray *profiles; GArray *profiles;
guint i; guint i;