[MOVED FROM BAD 041/134] vp8enc: Allow a maximum keyframe distance of 0, i.e. all frames are keyframes

This commit is contained in:
Sebastian Dröge 2010-05-22 12:55:45 +02:00
parent f431917418
commit 0de97a2e85

View file

@ -279,7 +279,7 @@ gst_vp8_enc_class_init (GstVP8EncClass * klass)
g_object_class_install_property (gobject_class, PROP_MAX_KEYFRAME_DISTANCE, g_object_class_install_property (gobject_class, PROP_MAX_KEYFRAME_DISTANCE,
g_param_spec_int ("max-keyframe-distance", "Maximum Key frame distance", g_param_spec_int ("max-keyframe-distance", "Maximum Key frame distance",
"Maximum distance between key frames", "Maximum distance between key frames",
1, 9999, DEFAULT_MAX_KEYFRAME_DISTANCE, 0, 9999, DEFAULT_MAX_KEYFRAME_DISTANCE,
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_SPEED, g_object_class_install_property (gobject_class, PROP_SPEED,