diff --git a/MoonWorks.Test.Common/Content/Videos/hello.obu b/MoonWorks.Test.Common/Content/Videos/hello.obu new file mode 100644 index 0000000..fe44502 Binary files /dev/null and b/MoonWorks.Test.Common/Content/Videos/hello.obu differ diff --git a/MoonWorks.Test.Common/CopyMoonlibs.targets b/MoonWorks.Test.Common/CopyMoonlibs.targets index 34a5c0d..89671bc 100644 --- a/MoonWorks.Test.Common/CopyMoonlibs.targets +++ b/MoonWorks.Test.Common/CopyMoonlibs.targets @@ -5,6 +5,18 @@ + + + %(RecursiveDir)%(Filename)%(Extension) + PreserveNewest + + + + %(RecursiveDir)%(Filename)%(Extension) + PreserveNewest + + + %(RecursiveDir)%(Filename)%(Extension) @@ -18,6 +30,10 @@ %(RecursiveDir)%(Filename)%(Extension) PreserveNewest + + %(RecursiveDir)%(Filename)%(Extension) + PreserveNewest + @@ -32,6 +48,10 @@ %(RecursiveDir)%(Filename)%(Extension) PreserveNewest + + %(RecursiveDir)%(Filename)%(Extension) + PreserveNewest + diff --git a/VideoPlayer/VideoPlayerGame.cs b/VideoPlayer/VideoPlayerGame.cs index 81b1c82..f8a28a8 100644 --- a/VideoPlayer/VideoPlayerGame.cs +++ b/VideoPlayer/VideoPlayerGame.cs @@ -11,7 +11,7 @@ namespace MoonWorks.Test private Buffer vertexBuffer; private Buffer indexBuffer; - private Video.Video video; + private Video.VideoAV1 video; private VideoPlayer videoPlayer; public VideoPlayerGame() : base(TestUtils.GetStandardWindowCreateInfo(), TestUtils.GetStandardFrameLimiterSettings(), 60, true) @@ -60,12 +60,12 @@ namespace MoonWorks.Test GraphicsDevice.Wait(); // Load the video - video = new Video.Video(TestUtils.GetVideoPath("hello.ogv")); + video = new Video.VideoAV1(TestUtils.GetVideoPath("hello.obu")); // Play the video videoPlayer = new VideoPlayer(GraphicsDevice, AudioDevice); videoPlayer.Load(video); - videoPlayer.Play(); + videoPlayer.Play(); } protected override void Update(System.TimeSpan delta)