fix video loader race condition
parent
b0259e2b61
commit
d69f62d2ce
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using MoonWorks.Audio;
|
||||
|
@ -124,9 +124,12 @@ namespace MoonWorks.Video
|
|||
|
||||
Video = video;
|
||||
|
||||
lock (AudioDevice.StateLock)
|
||||
{
|
||||
InitializeTheoraStream();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void Play()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue