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:
2025-06-08 17:26:49 +05:00
parent 9cdfa18fc8
commit 9bb835beaf
7 changed files with 322 additions and 23 deletions

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)
}