mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
aom: Set fixed_qp_offsets to a deactivated value
aom only uses fixed_qp_offsets with the Constant Quality (Q) Rate Control mode, previously this was locking any usage with another Rate Control mode. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1198>
This commit is contained in:
parent
a2460a8adc
commit
2546cef4be
1 changed files with 7 additions and 0 deletions
|
@ -428,6 +428,13 @@ gst_av1_enc_init (GstAV1Enc * av1enc)
|
|||
av1enc->tile_columns = DEFAULT_TILE_COLUMNS;
|
||||
av1enc->tile_rows = DEFAULT_TILE_ROWS;
|
||||
|
||||
#ifdef FIXED_QP_OFFSET_COUNT
|
||||
av1enc->aom_cfg.fixed_qp_offsets[0] = -1;
|
||||
av1enc->aom_cfg.fixed_qp_offsets[1] = -1;
|
||||
av1enc->aom_cfg.fixed_qp_offsets[2] = -1;
|
||||
av1enc->aom_cfg.fixed_qp_offsets[3] = -1;
|
||||
av1enc->aom_cfg.fixed_qp_offsets[4] = -1;
|
||||
#endif
|
||||
av1enc->aom_cfg.rc_dropframe_thresh = DEFAULT_DROP_FRAME;
|
||||
av1enc->aom_cfg.rc_resize_mode = DEFAULT_RESIZE_MODE;
|
||||
av1enc->aom_cfg.rc_resize_denominator = DEFAULT_RESIZE_DENOMINATOR;
|
||||
|
|
Loading…
Reference in a new issue