Actually follow user's choice for broadcasting encoder support when first connecting with headless mode

This commit is contained in:
Yukino Song
2025-01-02 03:55:23 +08:00
parent ae4dfeaac0
commit d19906b7a5
2 changed files with 9 additions and 1 deletions

View File

@@ -970,7 +970,11 @@ namespace video {
int active_hevc_mode;
int active_av1_mode;
bool last_encoder_probe_supported_ref_frames_invalidation = false;
std::array<bool, 3> last_encoder_probe_supported_yuv444_for_codec = {};
std::array<bool, 3> last_encoder_probe_supported_yuv444_for_codec = {
true,
true,
true
};
void
reset_display(std::shared_ptr<platf::display_t> &disp, const platf::mem_type_e &type, const std::string &display_name, const config_t &config) {