Mercurial > vegas-scripts
view Disable Resample.cs @ 6:d6fb9b751b03 default tip
hg: purge .github folder
author | Paper <paper@tflc.us> |
---|---|
date | Tue, 25 Mar 2025 00:29:30 -0400 |
parents | d32ae6be32a4 |
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; } } } } }