comparison disable_resample.cs @ 2:f3e30ce83303

disable_resample.cs: Avoid unnecessary declarations committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Mon, 23 Jan 2023 23:28:45 -0500
parents 32af787f8cb8
children
comparison
equal deleted inserted replaced
1:32af787f8cb8 2:f3e30ce83303
4 public void FromVegas(Vegas vegas) { 4 public void FromVegas(Vegas vegas) {
5 foreach (Track track in vegas.Project.Tracks) { 5 foreach (Track track in vegas.Project.Tracks) {
6 if (track.IsVideo()) { 6 if (track.IsVideo()) {
7 foreach (TrackEvent evnt in track.Events) { 7 foreach (TrackEvent evnt in track.Events) {
8 VideoEvent videoEvent = (VideoEvent)evnt; 8 VideoEvent videoEvent = (VideoEvent)evnt;
9 VideoResampleMode VRMode = VideoResampleMode.Disable; 9 videoEvent.ResampleMode = VideoResampleMode.Disable;
10 videoEvent.ResampleMode = VRMode;
11 } 10 }
12 } 11 }
13 } 12 }
14 } 13 }
15 } 14 }