summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Valdina <matteo.valdina@gmail.com>2018-02-25 20:46:56 -0600
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-05-02 21:11:19 +0200
commit08e95320b1308a06601c01c2c122ba4cb1ae1d1a (patch)
treee14d9b548c72031ee818da755510c046927661ae
parentcf67d6d5676df06cef5a60ffe39e22b1a1e50d99 (diff)
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
-rw-r--r--gst-libs/gst/vaapi/gstvaapiencoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiencoder.c b/gst-libs/gst/vaapi/gstvaapiencoder.c
index 9e3b4030..a084f496 100644
--- a/gst-libs/gst/vaapi/gstvaapiencoder.c
+++ b/gst-libs/gst/vaapi/gstvaapiencoder.c
@@ -153,7 +153,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, 300,
+ "Maximal distance between two keyframes (0: auto-calculate)", 0, 300,
30, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**