Mercurial > vegas-scripts
view disable_resample.cs @ 1:32af787f8cb8
Migrate files from gist
committer: GitHub <noreply@github.com>
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Mon, 23 Jan 2023 23:25:44 -0500 |
parents | |
children | f3e30ce83303 |
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; VideoResampleMode VRMode = VideoResampleMode.Disable; videoEvent.ResampleMode = VRMode; } } } } }