diff options
author | bobo1on1 <bobo1on1@svn> | 2010-09-16 20:36:39 +0000 |
---|---|---|
committer | bobo1on1 <bobo1on1@svn> | 2010-09-16 20:36:39 +0000 |
commit | 88362c3011f69b01d1248d022e643d4e9a0aca50 (patch) | |
tree | 6cd0e6bedd93edceb2b530a6e1576e37b3b1e94e /guilib | |
parent | fa9fb0fa2c844179aa260bc54930f3f8a85588ac (diff) |
changed: use CThread for CDelayedMessage instead of CJob so we don't clog the jobmanager with sleeping jobs
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33902 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r-- | guilib/GraphicContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GraphicContext.cpp b/guilib/GraphicContext.cpp index 1989531b7e..a4da3e5777 100644 --- a/guilib/GraphicContext.cpp +++ b/guilib/GraphicContext.cpp @@ -327,7 +327,7 @@ void CGraphicContext::SetVideoResolution(RESOLUTION res, bool forceUpdate) g_application.m_pPlayer->Pause(); ThreadMessage msg = {TMSG_MEDIA_PAUSE}; CDelayedMessage* pauseMessage = new CDelayedMessage(msg, delay * 500); - CJobManager::GetInstance().AddJob(pauseMessage, NULL); + pauseMessage->Create(true); } if (res >= RES_DESKTOP) |