aboutsummaryrefslogtreecommitdiff
path: root/guilib
diff options
context:
space:
mode:
authorbobo1on1 <bobo1on1@svn>2010-10-22 12:58:22 +0000
committerbobo1on1 <bobo1on1@svn>2010-10-22 12:58:22 +0000
commit8f3f3e4747280b60e76bd6f94f15085936d5475b (patch)
treea1e58b487a5ae7ce197a27a9ba8550bf37a2d611 /guilib
parent13239531d87d9c5ac5271b29efcd1bb8ce51db45 (diff)
fixed: use TMSG_MEDIA_UNPAUSE for unpausing after the refreshrate switch, this prevents the player from pausing if the user has unpaused already
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@34939 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r--guilib/GraphicContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GraphicContext.cpp b/guilib/GraphicContext.cpp
index 86a8a4a0d4..787d73c9a2 100644
--- a/guilib/GraphicContext.cpp
+++ b/guilib/GraphicContext.cpp
@@ -323,7 +323,7 @@ void CGraphicContext::SetVideoResolution(RESOLUTION res, bool forceUpdate)
if (delay > 0 && g_guiSettings.GetBool("videoplayer.adjustrefreshrate") && g_application.IsPlayingVideo() && !g_application.IsPaused())
{
g_application.m_pPlayer->Pause();
- ThreadMessage msg = {TMSG_MEDIA_PAUSE};
+ ThreadMessage msg = {TMSG_MEDIA_UNPAUSE};
CDelayedMessage* pauseMessage = new CDelayedMessage(msg, delay * 500);
pauseMessage->Create(true);
}