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(); }