Mercurial > vegas-scripts
comparison Disable Resample.cs @ 4:d32ae6be32a4
*: mass rename files
committer: GitHub <noreply@github.com>
| author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
|---|---|
| date | Mon, 23 Jan 2023 23:35:06 -0500 |
| parents | disable_resample.cs@f3e30ce83303 |
| children |
comparison
equal
deleted
inserted
replaced
| 3:958615460fe5 | 4:d32ae6be32a4 |
|---|---|
| 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 videoEvent.ResampleMode = VideoResampleMode.Disable; | |
| 10 } | |
| 11 } | |
| 12 } | |
| 13 } | |
| 14 } |
