mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
[MOVED FROM BAD 025/134] vp8enc: Limit max-latency to 25 to match libvpx
From libvpx/vp8/encoder/onyx_int.h: #define MAX_LAG_BUFFERS (CONFIG_REALTIME_ONLY? 1 : 25) While we don't need to be tied to what libvpx does internally, it doesn't make sense to pretend to support longer frame lags than are actually possible.
This commit is contained in:
parent
67adf511fd
commit
80d2b43443
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ gst_vp8_enc_class_init (GstVP8EncClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_MAX_LATENCY,
|
||||
g_param_spec_int ("max-latency", "Max latency",
|
||||
"Number of frames in encoder queue",
|
||||
0, 100, DEFAULT_MAX_LATENCY,
|
||||
0, 25, DEFAULT_MAX_LATENCY,
|
||||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||
|
||||
g_object_class_install_property (gobject_class, PROP_MAX_KEYFRAME_DISTANCE,
|
||||
|
|
Loading…
Reference in a new issue