forked from MoonsideGames/MoonWorks
ignore currently loaded video on VideoPlayer.Load
parent
80f19e4521
commit
23252a149f
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue