encoder: remove public function encoder_init (#28971)

This commit is contained in:
Dean Lee
2023-07-16 14:57:44 +08:00
committed by GitHub
parent c933fbb074
commit 06aef9edd3
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);