Fix convert update callbacks scope
This commit is contained in:
parent
8327385393
commit
e2718e31b7
11
main.go
11
main.go
|
|
@ -7022,6 +7022,10 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
||||||
var updateDVDOptions func()
|
var updateDVDOptions func()
|
||||||
var buildCommandPreview func()
|
var buildCommandPreview func()
|
||||||
var updateChapterWarning func()
|
var updateChapterWarning func()
|
||||||
|
var updateQualityOptions func()
|
||||||
|
var updateQualityVisibility func()
|
||||||
|
var updateRemuxVisibility func()
|
||||||
|
var updateEncodingControls func()
|
||||||
|
|
||||||
// Declare output widgets early to fix variable order issues
|
// Declare output widgets early to fix variable order issues
|
||||||
var outputExtLabel *widget.Label
|
var outputExtLabel *widget.Label
|
||||||
|
|
@ -7172,12 +7176,7 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
||||||
audioEncodingSection *fyne.Container
|
audioEncodingSection *fyne.Container
|
||||||
audioCodecSelect *ui.ColoredSelect
|
audioCodecSelect *ui.ColoredSelect
|
||||||
)
|
)
|
||||||
var (
|
// updateQualityOptions: Update quality dropdown based on codec
|
||||||
updateEncodingControls func()
|
|
||||||
updateQualityVisibility func()
|
|
||||||
updateRemuxVisibility func()
|
|
||||||
updateQualityOptions func() // Update quality dropdown based on codec
|
|
||||||
)
|
|
||||||
|
|
||||||
// Base quality options (without lossless or manual)
|
// Base quality options (without lossless or manual)
|
||||||
baseQualityOptions := []string{
|
baseQualityOptions := []string{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user