encoder: remove public function encoder_init (#28971)

old-commit-hash: 06aef9edd35b09382fac2616b190816bd8fe9a98
This commit is contained in:
Dean Lee
2023-07-16 14:57:44 +08:00
committed by GitHub
parent d6b8eed74d
commit ad461bedb2
4 changed files with 6 additions and 8 deletions
+2 -1
View File
@@ -131,7 +131,8 @@ void V4LEncoder::dequeue_handler(V4LEncoder *e) {
}
}
void V4LEncoder::encoder_init() {
V4LEncoder::V4LEncoder(const EncoderInfo &encoder_info, int in_width, int in_height)
: VideoEncoder(encoder_info, in_width, in_height) {
fd = open("/dev/v4l/by-path/platform-aa00000.qcom_vidc-video-index1", O_RDWR|O_NONBLOCK);
assert(fd >= 0);