ignore currently loaded video on VideoPlayer.Load

arm_test
cosmonaut 2022-09-20 11:31:27 -07:00
parent 80f19e4521
commit 23252a149f
1 changed files with 61 additions and 58 deletions

View File

@ -57,6 +57,8 @@ namespace MoonWorks.Video
}
public void Load(Video video)
{
if (Video != video)
{
Stop();
@ -119,6 +121,7 @@ namespace MoonWorks.Video
InitializeTheoraStream();
}
}
public void Play()
{