mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
Encoderd: encoders don't write, they only encode (#28499)
* Encoders dont write, they encode * Delete words * unused --------- Co-authored-by: Harald Schaefer <torq_boi@Haralds-MacBook-Air.local> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> old-commit-hash: d8f677c5eb8c3e5e7e42042144680e5ac454fe52
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