mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
nvencoder: Fix maximum QP value setting
Fixing typo Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6827>
This commit is contained in:
parent
63d58fcebf
commit
99b1f5ddd2
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