Mercurial > vegas-scripts
view 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 |
line wrap: on
line source
using Sony.Vegas; public class EntryPoint { public void FromVegas(Vegas vegas) { foreach (Track track in vegas.Project.Tracks) { if (track.IsVideo()) { foreach (TrackEvent evnt in track.Events) { VideoEvent videoEvent = (VideoEvent)evnt; videoEvent.ResampleMode = VideoResampleMode.Disable; } } } } }