Пример #1
0
 /// <summary>
 /// Constructor which initialises the external osd library handler
 /// </summary>
 /// <param name="player">Instance of external player</param>
 public ExternalOSDLibrary(MPlayerExtPlayer player)
 {
     _showingCacheStatus = false;
       _internalOSDHandler = new InternalOSDHandler(player, false);
       using (new WaitCursor())
       {
     Thread thread = new Thread(OsdGetInstance);
     thread.Start();
     while (thread.IsAlive)
     {
       GUIWindowManager.Process();
       Thread.Sleep(100);
     }
       }
       _osd.ShowInit(LocalizeStrings.Get((int)LocalizedMessages.Initializing));
 }