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)
|
public void Load(Video video)
|
||||||
|
{
|
||||||
|
if (Video != video)
|
||||||
{
|
{
|
||||||
Stop();
|
Stop();
|
||||||
|
|
||||||
|
@ -119,6 +121,7 @@ namespace MoonWorks.Video
|
||||||
|
|
||||||
InitializeTheoraStream();
|
InitializeTheoraStream();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void Play()
|
public void Play()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue