mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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 zero. https://bugzilla.gnome.org/show_bug.cgi?id=785032
This commit is contained in:
parent
e9fd571214
commit
a9c13a0934
1 changed files with 2 additions and 1 deletions
|
@ -79,7 +79,8 @@ gst_vaapi_encoder_vp9_ref_pic_mode_type (void)
|
|||
"mode-0"},
|
||||
{GST_VAAPI_ENCODER_VP9_REF_PIC_MODE_1,
|
||||
"Use last three frames for prediction (n:Last n-1:Gold n-2:Alt)",
|
||||
"mode-1"}
|
||||
"mode-1"},
|
||||
{0, NULL, NULL},
|
||||
};
|
||||
|
||||
gtype = g_enum_register_static ("GstVaapiEncoderVP9RefPicMode", values);
|
||||
|
|
Loading…
Reference in a new issue