Encoderd: encoders just encode, no writing (#28482)

Encoders dont write, they encode
old-commit-hash: 1fd7542eae10e78fb363548da428a9c7a907638e
This commit is contained in:
Harald Schäfer
2023-06-10 23:44:01 -07:00
committed by GitHub
parent 1befc68287
commit c4bc3964a6
7 changed files with 8 additions and 70 deletions
+2 -2
View File
@@ -57,13 +57,13 @@ void encoder_thread(EncoderdState *s, const LogCameraInfo &cam_info) {
encoders.push_back(new Encoder(cam_info.filename, cam_info.type, buf_info.width, buf_info.height,
cam_info.fps, cam_info.bitrate,
cam_info.is_h265 ? cereal::EncodeIndex::Type::FULL_H_E_V_C : cereal::EncodeIndex::Type::QCAMERA_H264,
buf_info.width, buf_info.height, false));
buf_info.width, buf_info.height));
// qcamera encoder
if (cam_info.has_qcamera) {
encoders.push_back(new Encoder(qcam_info.filename, cam_info.type, buf_info.width, buf_info.height,
qcam_info.fps, qcam_info.bitrate,
qcam_info.is_h265 ? cereal::EncodeIndex::Type::FULL_H_E_V_C : cereal::EncodeIndex::Type::QCAMERA_H264,
qcam_info.frame_width, qcam_info.frame_height, false));
qcam_info.frame_width, qcam_info.frame_height));
}
} else {
LOGE("not initting empty encoder");