libs: encoder: add zero as valid value for periodic keyframe.

Enabled zero as valid value for keyframe-period property.

https://bugzilla.gnome.org/show_bug.cgi?id=793829
This commit is contained in:
Matteo Valdina 2018-02-25 20:46:56 -06:00 committed by Víctor Manuel Jáquez Leal
parent d18d6a8bd0
commit 02c7c1bc17

View file

@ -164,7 +164,7 @@ gst_vaapi_encoder_properties_get_default (const GstVaapiEncoderClass * klass)
GST_VAAPI_ENCODER_PROP_KEYFRAME_PERIOD,
g_param_spec_uint ("keyframe-period",
"Keyframe Period",
"Maximal distance between two keyframes (0: auto-calculate)", 1,
"Maximal distance between two keyframes (0: auto-calculate)", 0,
G_MAXUINT32, 30, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**