Hide quality presets outside CRF mode
This commit is contained in:
parent
e002b586b1
commit
7b264c7224
1
DONE.md
1
DONE.md
|
|
@ -830,6 +830,7 @@ This file tracks completed features, fixes, and milestones.
|
|||
- ✅ Added 0.5/1.0 Mbps bitrate presets and simplified preset names
|
||||
- ✅ Default bitrate preset normalized to 2.5 Mbps to avoid "select one"
|
||||
- ✅ Linked simple and advanced bitrate presets so they stay in sync
|
||||
- ✅ Hide quality presets when bitrate mode is not CRF
|
||||
- ✅ Stabilized video seeking and embedded rendering
|
||||
- ✅ Improved player window positioning
|
||||
- ✅ Fixed clear video functionality
|
||||
|
|
|
|||
1
TODO.md
1
TODO.md
|
|
@ -63,6 +63,7 @@ This file tracks upcoming features, improvements, and known issues.
|
|||
- Bitrate presets expanded to include 0.5/1.0 Mbps and renamed for clarity
|
||||
- Default bitrate preset normalized to 2.5 Mbps to prevent empty select
|
||||
- Simple/advanced bitrate presets synced
|
||||
- Quality presets hidden when bitrate mode is not CRF
|
||||
|
||||
*Last Updated: 2025-12-20*
|
||||
|
||||
|
|
|
|||
5
main.go
5
main.go
|
|
@ -6824,16 +6824,17 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
|||
updateQualityVisibility = func() {
|
||||
hide := strings.Contains(strings.ToLower(state.convert.SelectedFormat.Label), "h.265") ||
|
||||
strings.EqualFold(state.convert.VideoCodec, "H.265")
|
||||
hideQuality := state.convert.BitrateMode != "" && state.convert.BitrateMode != "CRF"
|
||||
|
||||
if qualitySectionSimple != nil {
|
||||
if hide {
|
||||
if hide || hideQuality {
|
||||
qualitySectionSimple.Hide()
|
||||
} else {
|
||||
qualitySectionSimple.Show()
|
||||
}
|
||||
}
|
||||
if qualitySectionAdv != nil {
|
||||
if hide {
|
||||
if hide || hideQuality {
|
||||
qualitySectionAdv.Hide()
|
||||
} else {
|
||||
qualitySectionAdv.Show()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user