Esempio n. 1
0
        protected void OnVideoConverterToolActionActivated(object sender, System.EventArgs e)
        {
            int res;
            VideoConversionTool converter = new VideoConversionTool();

            res = converter.Run();
            converter.Destroy();
        }
Esempio n. 2
0
        protected void OnVideoConverterToolActionActivated(object sender, System.EventArgs e)
        {
            int res;
            VideoConversionTool converter = new VideoConversionTool();

            res = converter.Run();
            converter.Destroy();
            if (res == (int)ResponseType.Ok)
            {
                Config.EventsBroker.EmitConvertVideoFiles(converter.Files,
                                                          converter.EncodingSettings);
            }
        }