fix: hide codec toggle when video compression is set to uncompressed
When the compression quality slider is set to UNCOMPRESSED (value 3), no encoding happens so the H264/H265 codec choice is irrelevant. Hide the codec toggle in this case to avoid confusion. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -302,7 +302,7 @@ fun ImageVideoDescription(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (uris.first().media.isVideo() == true) {
|
if (uris.first().media.isVideo() == true && mediaQualitySlider != 3) {
|
||||||
SettingSwitchItem(
|
SettingSwitchItem(
|
||||||
title = R.string.video_codec_h265_label,
|
title = R.string.video_codec_h265_label,
|
||||||
description = R.string.video_codec_h265_description,
|
description = R.string.video_codec_h265_description,
|
||||||
|
|||||||
Reference in New Issue
Block a user