Force reset to restore source resolution and frame rate

This commit is contained in:
Stu Leak 2025-12-20 15:30:41 -05:00
parent 685707e8d1
commit cdf8b10769
3 changed files with 10 additions and 0 deletions

View File

@ -819,6 +819,7 @@ This file tracks completed features, fixes, and milestones.
- ✅ 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
- ✅ Reset now forces resolution and frame rate back to Source
- ✅ Stabilized video seeking and embedded rendering
- ✅ Improved player window positioning
- ✅ Fixed clear video functionality

View File

@ -52,6 +52,7 @@ This file tracks upcoming features, improvements, and known issues.
- 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
- Reset forces resolution/frame rate back to Source
## Priority Features for dev20+

View File

@ -6860,6 +6860,7 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
resolutionSelectSimple.SetSelected(state.convert.TargetResolution)
resolutionSelect.SetSelected(state.convert.TargetResolution)
frameRateSelect.SetSelected(state.convert.FrameRate)
updateFrameRateHint()
motionInterpCheck.SetChecked(state.convert.UseMotionInterpolation)
syncAspect(state.convert.OutputAspect, false)
aspectOptions.SetSelected(state.convert.AspectHandling)
@ -6880,6 +6881,13 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
if updateDVDOptions != nil {
updateDVDOptions()
}
// Re-apply defaults in case DVD options toggled any locks
state.convert.TargetResolution = "Source"
state.convert.FrameRate = "Source"
resolutionSelectSimple.SetSelected("Source")
resolutionSelect.SetSelected("Source")
frameRateSelect.SetSelected("Source")
updateFrameRateHint()
if updateEncodingControls != nil {
updateEncodingControls()
}