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:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user