libs: encoder: vp9: array terminated in zeros

There is a crash when setting ref-pic-mode since the #GEnumValue
array is not terminated with a structured with all memvers being
parent 58551855
......@@ -74,7 +74,8 @@ gst_vaapi_encoder_vp9_ref_pic_mode_type (void)
"Use last three frames for prediction (n:Last n-1:Gold n-2:Alt)",
{0, NULL, NULL},
gtype = g_enum_register_static ("GstVaapiEncoderVP9RefPicMode", values);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment