Lock remux aspect controls to Source
This commit is contained in:
parent
be4ef2303b
commit
47975ac0f5
25
main.go
25
main.go
|
|
@ -7559,6 +7559,31 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
||||||
audioCodecSelect.Enable()
|
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(
|
simpleEncodingSection = container.NewVBox(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user