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
View File
@@ -255,7 +255,6 @@ void V4LEncoder::encoder_init() {
void V4LEncoder::encoder_open(const char* path) {
dequeue_handler_thread = std::thread(V4LEncoder::dequeue_handler, this);
writer_open(path);
this->is_open = true;
this->counter = 0;
}
@@ -288,7 +287,6 @@ void V4LEncoder::encoder_close() {
// join waits for V4L2_QCOM_BUF_FLAG_EOS
dequeue_handler_thread.join();
assert(extras.empty());
writer_close();
}
this->is_open = false;
}