From fe5d0f7f87ab3d5e942a7f3e7f08674d5f065e2e Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Wed, 24 Dec 2025 02:31:34 -0500 Subject: [PATCH] Lock remux aspect controls to Source --- main.go | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/main.go b/main.go index 2a2641e..aba9a06 100644 --- a/main.go +++ b/main.go @@ -7559,6 +7559,31 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject { audioCodecSelect.Enable() } } + if remux { + state.convert.AspectUserSet = false + if syncAspect != nil { + syncAspect("Source", false) + } + if targetAspectSelectSimple != nil { + targetAspectSelectSimple.Disable() + } + if targetAspectSelect != nil { + targetAspectSelect.Disable() + } + aspectOptions.Disable() + aspectBox.Hide() + } else { + if targetAspectSelectSimple != nil { + targetAspectSelectSimple.Enable() + } + if targetAspectSelect != nil { + targetAspectSelect.Enable() + } + aspectOptions.Enable() + if updateAspectBoxVisibility != nil { + updateAspectBoxVisibility() + } + } } simpleEncodingSection = container.NewVBox(