mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
va: encoder: Fix the unit of bitrate in debug log message
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6483>
This commit is contained in:
parent
9c3bd3950e
commit
e023546162
4 changed files with 8 additions and 12 deletions
|
@ -2698,9 +2698,8 @@ _av1_ensure_rate_control (GstVaAV1Enc * self)
|
|||
break;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Max bitrate: %u bits/sec, "
|
||||
"Target bitrate: %u bits/sec", self->rc.max_bitrate,
|
||||
self->rc.target_bitrate);
|
||||
GST_DEBUG_OBJECT (self, "Max bitrate: %u kbps, target bitrate: %u kbps",
|
||||
self->rc.max_bitrate, self->rc.target_bitrate);
|
||||
|
||||
if (self->rc.rc_ctrl_mode == VA_RC_CBR || self->rc.rc_ctrl_mode == VA_RC_VBR
|
||||
|| self->rc.rc_ctrl_mode == VA_RC_VCM
|
||||
|
|
|
@ -677,9 +677,8 @@ _ensure_rate_control (GstVaH264Enc * self)
|
|||
break;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Max bitrate: %u bits/sec, "
|
||||
"Target bitrate: %u bits/sec", self->rc.max_bitrate,
|
||||
self->rc.target_bitrate);
|
||||
GST_DEBUG_OBJECT (self, "Max bitrate: %u kbps, target bitrate: %u kbps",
|
||||
self->rc.max_bitrate, self->rc.target_bitrate);
|
||||
|
||||
if (self->rc.rc_ctrl_mode == VA_RC_CBR || self->rc.rc_ctrl_mode == VA_RC_VBR
|
||||
|| self->rc.rc_ctrl_mode == VA_RC_VCM
|
||||
|
|
|
@ -3420,9 +3420,8 @@ _h265_ensure_rate_control (GstVaH265Enc * self)
|
|||
break;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Max bitrate: %u bits/sec, "
|
||||
"Target bitrate: %u bits/sec", self->rc.max_bitrate,
|
||||
self->rc.target_bitrate);
|
||||
GST_DEBUG_OBJECT (self, "Max bitrate: %u kbps, target bitrate: %u kbps",
|
||||
self->rc.max_bitrate, self->rc.target_bitrate);
|
||||
|
||||
if (self->rc.rc_ctrl_mode == VA_RC_CBR || self->rc.rc_ctrl_mode == VA_RC_VBR
|
||||
|| self->rc.rc_ctrl_mode == VA_RC_VCM
|
||||
|
|
|
@ -2054,9 +2054,8 @@ _vp9_ensure_rate_control (GstVaVp9Enc * self)
|
|||
break;
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (self, "Max bitrate: %u bits/sec, "
|
||||
"Target bitrate: %u bits/sec", self->rc.max_bitrate,
|
||||
self->rc.target_bitrate);
|
||||
GST_DEBUG_OBJECT (self, "Max bitrate: %u kbps, target bitrate: %u kbps",
|
||||
self->rc.max_bitrate, self->rc.target_bitrate);
|
||||
|
||||
if (self->rc.rc_ctrl_mode == VA_RC_CBR || self->rc.rc_ctrl_mode == VA_RC_VBR
|
||||
|| self->rc.rc_ctrl_mode == VA_RC_VCM
|
||||
|
|
Loading…
Reference in a new issue