rc_params->constQP.qpIntra = self->qp_i;
if (self->qp_p >= 0)
rc_params->constQP.qpInterP = self->qp_p;
- if (self->qp_p >= 0)
+ if (self->qp_b >= 0)
rc_params->constQP.qpInterB = self->qp_b;
}
std::string resolution_str;
GList *iter;
guint adapter_luid_size = 0;
- gint64 adapter_luid_list[8];
+ gint64 adapter_luid_list[8] = { 0, };
guint cuda_device_id_size = 0;
- guint cuda_device_id_list[8];
+ guint cuda_device_id_list[8] = { 0, };
GstNvEncoderDeviceCaps dev_caps;
GstNvEncoderClassData *cdata;
GstCaps *sink_caps = nullptr;
rc_params->constQP.qpIntra = self->qp_i;
if (self->qp_p >= 0)
rc_params->constQP.qpInterP = self->qp_p;
- if (self->qp_p >= 0)
+ if (self->qp_b >= 0)
rc_params->constQP.qpInterB = self->qp_b;
}
std::string resolution_str;
GList *iter;
guint adapter_luid_size = 0;
- gint64 adapter_luid_list[8];
+ gint64 adapter_luid_list[8] = { 0, };
guint cuda_device_id_size = 0;
- guint cuda_device_id_list[8];
+ guint cuda_device_id_list[8] = { 0, };
GstNvEncoderDeviceCaps dev_caps;
GstNvEncoderClassData *cdata;
GstCaps *sink_caps = nullptr;