Make a choice of the encoder in the form

Made a choice of the encoder by categories: video, audio and photo.
This commit is contained in:
kor-elf committed 2025-06-08 17:26:49 +05:00
1 parent 9cdfa18fc8
commit 9bb835beaf
7 files changed
+322 -23

No files matched your search

+7
View File
@@ -7,11 +7,18 @@ import (
)
func (c *controller) convertor() {
formats, err := c.app.GetConvertorService().GetSupportFormats()
if err != nil {
c.startWithError(err)
return
}
content := view.Convertor(
c.window,
c.addFileForConversion,
c.app.GetSetting().GetDirectoryForSaving(),
c.setDirectoryForSaving,
formats,
)
c.window.SetContent(content)
}