예제 #1
0
 private void Export(ExportMedia export, IIngestDirectory directory, TmXFAudioExportFormat mXFAudioExportFormat, TmXFVideoExportFormat mXFVideoExportFormat)
 {
     _fileManager.Queue(new ExportOperation()
     {
         ExportMediaList = new[] { export }, DestMediaName = export.Media.MediaName, StartTC = export.StartTC, Duration = export.Duration, AudioVolume = export.AudioVolume, DestDirectory = directory as IngestDirectory, MXFAudioExportFormat = mXFAudioExportFormat, MXFVideoExportFormat = mXFVideoExportFormat
     });
 }
예제 #2
0
 public ExportMediaViewmodel(IMediaManager manager, ExportMedia mediaExport)
 {
     this.MediaExport = mediaExport;
     MediaManager     = manager;
     _logos           = new ObservableCollection <ExportMediaLogoViewmodel>(mediaExport.Logos.Select(l => new ExportMediaLogoViewmodel(this, l)));
     CommandAddLogo   = new UICommand()
     {
         ExecuteDelegate = _addLogo
     };
 }