Reset convert settings to full defaults

This commit is contained in:
Stu Leak 2025-12-20 15:25:51 -05:00
parent 0ef618df55
commit 685707e8d1
3 changed files with 12 additions and 0 deletions

View File

@ -818,6 +818,7 @@ This file tracks completed features, fixes, and milestones.
- ✅ Hide manual CRF input when Lossless quality is selected
- ✅ Upscale now recomputes target dimensions from the preset to ensure 2X/4X apply
- ✅ Added unit selector for manual video bitrate entry
- ✅ Reset now restores full default convert settings even with no config file
- ✅ Stabilized video seeking and embedded rendering
- ✅ Improved player window positioning
- ✅ Fixed clear video functionality

View File

@ -51,6 +51,7 @@ This file tracks upcoming features, improvements, and known issues.
- Hide manual CRF entry when Lossless quality is active
- Upscale target dimensions recomputed from preset for 2X/4X reliability
- Manual video bitrate uses a unit selector (KB/MB/GB)
- Reset restores full default convert settings
## Priority Features for dev20+

10
main.go
View File

@ -6856,6 +6856,7 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
autoNameCheck.SetChecked(state.convert.UseAutoNaming)
autoNameTemplate.SetText(state.convert.AutoNameTemplate)
outputEntry.SetText(state.convert.OutputBase)
outputHint.SetText(fmt.Sprintf("Output file: %s", state.convert.OutputFile()))
resolutionSelectSimple.SetSelected(state.convert.TargetResolution)
resolutionSelect.SetSelected(state.convert.TargetResolution)
frameRateSelect.SetSelected(state.convert.FrameRate)
@ -6868,8 +6869,17 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
audioCodecSelect.SetSelected(state.convert.AudioCodec)
audioBitrateSelect.SetSelected(state.convert.AudioBitrate)
audioChannelsSelect.SetSelected(state.convert.AudioChannels)
inverseCheck.SetChecked(state.convert.InverseTelecine)
inverseHint.SetText(state.convert.InverseAutoNotes)
coverLabel.SetText(state.convert.CoverLabel())
if coverDisplay != nil {
coverDisplay.SetText("Cover Art: " + state.convert.CoverLabel())
}
updateAspectBoxVisibility()
if updateDVDOptions != nil {
updateDVDOptions()
}
if updateEncodingControls != nil {
updateEncodingControls()
}