mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
libs: encoder: h265: keep idr_period equal to keyframe period
Remove FIXME code, which makes previous assignation spurious. This also means to make idr_period equal to keyframe period, which is same as h264 encoder. https://bugzilla.gnome.org/show_bug.cgi?id=783804
This commit is contained in:
parent
2039eb882e
commit
f7886008e3
1 changed files with 0 additions and 3 deletions
|
@ -1965,9 +1965,6 @@ reset_properties (GstVaapiEncoderH265 * encoder)
|
|||
if (encoder->idr_period > MAX_IDR_PERIOD)
|
||||
encoder->idr_period = MAX_IDR_PERIOD;
|
||||
|
||||
/* FIXME: provide user control for idr_period ?? */
|
||||
encoder->idr_period = base_encoder->keyframe_period * 2;
|
||||
|
||||
if (encoder->min_qp > encoder->init_qp ||
|
||||
(GST_VAAPI_ENCODER_RATE_CONTROL (encoder) == GST_VAAPI_RATECONTROL_CQP &&
|
||||
encoder->min_qp < encoder->init_qp))
|
||||
|
|
Loading…
Reference in a new issue