From 35b04bfe9880f1c5cf1ed30a771f068bda668696 Mon Sep 17 00:00:00 2001 From: Stu Date: Sun, 23 Nov 2025 02:36:40 -0500 Subject: [PATCH] Change default aspect ratio from 16:9 to Source MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the convert menu to default to source aspect ratio instead of 16:9, which better preserves the original video's aspect ratio by default. Changes: - Initial state default: 16:9 → Source - Empty fallback default: 16:9 → Source - Reset button default: 16:9 → Source - Clear video default: 16:9 → Source - Updated hint label to reflect new default 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index d8a6a6b..95ff3fe 100644 --- a/main.go +++ b/main.go @@ -362,7 +362,7 @@ func runGUI() { Mode: "Simple", InverseTelecine: true, InverseAutoNotes: "Default smoothing for interlaced footage.", - OutputAspect: "16:9", + OutputAspect: "Source", AspectHandling: "Auto", }, player: player.New(), @@ -628,10 +628,10 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject { state.convert.OutputAspect = value }) if state.convert.OutputAspect == "" { - state.convert.OutputAspect = "16:9" + state.convert.OutputAspect = "Source" } targetAspectSelect.SetSelected(state.convert.OutputAspect) - targetAspectHint := widget.NewLabel("Pick desired output aspect (default 16:9).") + targetAspectHint := widget.NewLabel("Pick desired output aspect (default Source).") aspectOptions := widget.NewRadioGroup([]string{"Auto", "Letterbox", "Pillarbox", "Blur Fill"}, func(value string) { debugLog(logCatUI, "aspect handling set to %s", value) @@ -734,7 +734,7 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject { formatSelect.SetSelected("MP4 (H.264)") qualitySelect.SetSelected("Standard (CRF 23)") aspectOptions.SetSelected("Auto") - targetAspectSelect.SetSelected("16:9") + targetAspectSelect.SetSelected("Source") updateAspectBoxVisibility() debugLog(logCatUI, "convert settings reset to defaults") }) @@ -1747,7 +1747,7 @@ func (s *appState) clearVideo() { s.convert.OutputBase = "converted" s.convert.CoverArtPath = "" s.convert.AspectHandling = "Auto" - s.convert.OutputAspect = "16:9" + s.convert.OutputAspect = "Source" fyne.CurrentApp().Driver().DoFromGoroutine(func() { s.showConvertView(nil) }, false)