mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-05 15:08:48 +00:00
nvencoder: Fix maximum QP value setting
Fixing typo Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6832>
This commit is contained in:
parent
8e3b2121bb
commit
38cbc51822
2 changed files with 6 additions and 6 deletions
|
@ -842,13 +842,13 @@ gst_nv_h264_encoder_set_property (GObject * object, guint prop_id,
|
|||
update_int (self, &self->min_qp_b, value, UPDATE_RC_PARAM);
|
||||
break;
|
||||
case PROP_MAX_QP_I:
|
||||
update_int (self, &self->min_qp_i, value, UPDATE_RC_PARAM);
|
||||
update_int (self, &self->max_qp_i, value, UPDATE_RC_PARAM);
|
||||
break;
|
||||
case PROP_MAX_QP_P:
|
||||
update_int (self, &self->min_qp_p, value, UPDATE_RC_PARAM);
|
||||
update_int (self, &self->max_qp_p, value, UPDATE_RC_PARAM);
|
||||
break;
|
||||
case PROP_MAX_QP_B:
|
||||
update_int (self, &self->min_qp_b, value, UPDATE_RC_PARAM);
|
||||
update_int (self, &self->max_qp_b, value, UPDATE_RC_PARAM);
|
||||
break;
|
||||
case PROP_CONST_QUALITY:
|
||||
update_double (self, &self->const_quality, value, UPDATE_RC_PARAM);
|
||||
|
|
|
@ -841,13 +841,13 @@ gst_nv_h265_encoder_set_property (GObject * object, guint prop_id,
|
|||
update_int (self, &self->min_qp_b, value, UPDATE_RC_PARAM);
|
||||
break;
|
||||
case PROP_MAX_QP_I:
|
||||
update_int (self, &self->min_qp_i, value, UPDATE_RC_PARAM);
|
||||
update_int (self, &self->max_qp_i, value, UPDATE_RC_PARAM);
|
||||
break;
|
||||
case PROP_MAX_QP_P:
|
||||
update_int (self, &self->min_qp_p, value, UPDATE_RC_PARAM);
|
||||
update_int (self, &self->max_qp_p, value, UPDATE_RC_PARAM);
|
||||
break;
|
||||
case PROP_MAX_QP_B:
|
||||
update_int (self, &self->min_qp_b, value, UPDATE_RC_PARAM);
|
||||
update_int (self, &self->max_qp_b, value, UPDATE_RC_PARAM);
|
||||
break;
|
||||
case PROP_CONST_QUALITY:
|
||||
update_double (self, &self->const_quality, value, UPDATE_RC_PARAM);
|
||||
|
|
Loading…
Reference in a new issue