view disable_resample.cs @ 3:958615460fe5

Add issue template committer: GitHub <noreply@github.com>
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Mon, 23 Jan 2023 23:33:36 -0500
parents f3e30ce83303
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;
				}
			}
		}
	}
}