view Disable Resample.cs @ 5:6dcd5eef9c97

Update Add Dynamics.cs committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Sat, 11 Feb 2023 11:20:28 -0500
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;
				}
			}
		}
	}
}