fix wrong feature to call update_supported_encoding (#8067)

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2024-05-16 16:05:18 +08:00 committed by GitHub
parent 68fa688c96
commit 3a4390e0c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -695,7 +695,7 @@ impl Connection {
}
}
conn.file_remove_log_control.on_timer().drain(..).map(|x| conn.send_to_cm(x)).count();
#[cfg(feature = "vram")]
#[cfg(feature = "hwcodec")]
conn.update_supported_encoding();
}
_ = test_delay_timer.tick() => {