update VideoPlayerGame test

pull/2/head
cosmonaut 2023-06-07 14:21:35 -07:00
parent 15028bb1f1
commit c2c9a66181
2 changed files with 3 additions and 2 deletions

View File

@ -60,11 +60,12 @@ namespace MoonWorks.Test
GraphicsDevice.Wait();
// Load the video
video = new Video.VideoAV1(TestUtils.GetVideoPath("hello.obu"));
video = new Video.VideoAV1(TestUtils.GetVideoPath("hello.obu"), 25);
// Play the video
videoPlayer = new VideoPlayer(GraphicsDevice, AudioDevice);
videoPlayer = new VideoPlayer(GraphicsDevice);
videoPlayer.Load(video);
videoPlayer.Loop = true;
videoPlayer.Play();
}