コード例 #1
0
 private void OnVideoProcessAdded(TrimVideo trimVideo)
 {
     VideoProcessItems.Add(new SceneProcessItemViewModel(_eventAggregator)
     {
         File      = trimVideo.File,
         Video     = trimVideo,
         Overwrite = false,
     });
 }
コード例 #2
0
        private void OnVideoProcessAdded(TrimVideo trimVideo)
        {
            VideoProcessItems.Add(new VideoProcessViewModelItem(_eventAggregator)
            {
                File       = trimVideo.File,
                StartTime  = trimVideo.Start,
                EndTime    = trimVideo.End,
                Duration   = trimVideo.End - trimVideo.Start,
                Overwrite  = false,
                SystemName = trimVideo.SystemName,
            });

            trimVideo = null;
        }