Mercurial > vegas-scripts
changeset 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 | 958615460fe5 |
files | disable_resample.cs |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/disable_resample.cs Mon Jan 23 23:25:44 2023 -0500 +++ b/disable_resample.cs Mon Jan 23 23:28:45 2023 -0500 @@ -6,10 +6,9 @@ if (track.IsVideo()) { foreach (TrackEvent evnt in track.Events) { VideoEvent videoEvent = (VideoEvent)evnt; - VideoResampleMode VRMode = VideoResampleMode.Disable; - videoEvent.ResampleMode = VRMode; + videoEvent.ResampleMode = VideoResampleMode.Disable; } } } } -} \ No newline at end of file +}