From db345c832d1082939d819447f045f924f78c9a8e Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Wed, 10 Dec 2025 14:15:55 +0100 Subject: [PATCH] remove bit-depth for automatic codec --- dashboard/settings.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dashboard/settings.cpp b/dashboard/settings.cpp index 38e511c7..c048ec4d 100644 --- a/dashboard/settings.cpp +++ b/dashboard/settings.cpp @@ -307,7 +307,10 @@ bool Settings::tenbit() const void Settings::set_tenbit(const bool & value) { auto old = tenbit(); - m_jsonSettings["bit-depth"] = value ? 10 : 8; + if (codec() == CodecAuto) + m_jsonSettings.erase("bit-depth"); + else + m_jsonSettings["bit-depth"] = value ? 10 : 8; if (value != old) tenbitChanged(); }