mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 16:23:46 +08:00
Encoderd: encoders just encode, no writing (#28482)
Encoders dont write, they encode old-commit-hash: 1fd7542eae10e78fb363548da428a9c7a907638e
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user