[dvdplayer] fix deadlock when trying to go to disc menu
authorVoyager1 <voyager@xbmc.org>
Sat, 23 Mar 2013 06:19:46 +0000 (07:19 +0100)
committerVoyager1 <voyager@xbmc.org>
Sat, 23 Mar 2013 07:12:11 +0000 (08:12 +0100)
xbmc/cores/dvdplayer/DVDPlayer.cpp

index 3d2ca03..22c89dc 100644 (file)
@@ -3511,7 +3511,7 @@ bool CDVDPlayer::OnAction(const CAction &action)
         pMenus->OnMenu();
         // send a message to everyone that we've gone to the menu
         CGUIMessage msg(GUI_MSG_VIDEO_MENU_STARTED, 0, 0);
-        g_windowManager.SendMessage(msg);
+        g_windowManager.SendThreadMessage(msg);
         return true;
       }
       break;