Revert "hw encoder: set_bitrate and apply_bitrate based on Param (#38095)"

This reverts commit ad522f8444.
This commit is contained in:
Jason Wen
2026-06-26 21:13:04 -04:00
parent 0846ab723e
commit f03c9dd5aa
8 changed files with 4 additions and 54 deletions
-4
View File
@@ -72,10 +72,6 @@ void FfmpegEncoder::encoder_close() {
is_open = false;
}
void FfmpegEncoder::set_bitrate(int bitrate) {
LOGE("adaptive bitrate is not supported for ffmpeg encoder %s", encoder_info.publish_name);
}
int FfmpegEncoder::encode_frame(VisionBuf* buf, VisionIpcBufExtra *extra) {
assert(buf->width == this->in_width);
assert(buf->height == this->in_height);