encoder: remove function publisher_init, init PubMaster in constructor (#28980)

old-commit-hash: 65fe3c8c344233832e6aa79a2007ff5624a2c914
This commit is contained in:
Dean Lee
2023-07-18 10:25:41 +08:00
committed by GitHub
parent 4185aeb93b
commit bd93cd7db3
4 changed files with 4 additions and 15 deletions
-2
View File
@@ -251,8 +251,6 @@ V4LEncoder::V4LEncoder(const EncoderInfo &encoder_info, int in_width, int in_hei
for (unsigned int i = 0; i < BUF_IN_COUNT; i++) {
free_buf_in.push(i);
}
publisher_init();
}
void V4LEncoder::encoder_open(const char* path) {