Mercurial > vegas-scripts
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 0:08b074facb6b | 1:32af787f8cb8 |
|---|---|
| 1 using Sony.Vegas; | |
| 2 | |
| 3 public class EntryPoint { | |
| 4 public void FromVegas(Vegas vegas) { | |
| 5 foreach (Track track in vegas.Project.Tracks) { | |
| 6 if (track.IsVideo()) { | |
| 7 foreach (TrackEvent evnt in track.Events) { | |
| 8 VideoEvent videoEvent = (VideoEvent)evnt; | |
| 9 VideoResampleMode VRMode = VideoResampleMode.Disable; | |
| 10 videoEvent.ResampleMode = VRMode; | |
| 11 } | |
| 12 } | |
| 13 } | |
| 14 } | |
| 15 } |
