protected void OnVideoConverterToolActionActivated(object sender, System.EventArgs e) { int res; VideoConversionTool converter = new VideoConversionTool(); res = converter.Run(); converter.Destroy(); }
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); } }