Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexwild <alexwild@users.sourceforge.net>2007-09-27 16:30:48 +0400
committeralexwild <alexwild@users.sourceforge.net>2007-09-27 16:30:48 +0400
commit4e2c51562744b120fc21069e1401e40b69231816 (patch)
tree4431025ba2406979af0594f205b43e4e849f4d43 /src/apps/mplayerc/VMROSD.cpp
parentfec3240e407bfcfcaae1f8e5b7650790911f61a8 (diff)
disable osd now working with vmr9 windowed renderer, for any reason SetAlphaBitmap() seems not to mask the VMRBITMAP_DISABLE, so that is why it was not working
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@262 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/VMROSD.cpp')
-rw-r--r--src/apps/mplayerc/VMROSD.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/apps/mplayerc/VMROSD.cpp b/src/apps/mplayerc/VMROSD.cpp
index c0e722089..9c9e08591 100644
--- a/src/apps/mplayerc/VMROSD.cpp
+++ b/src/apps/mplayerc/VMROSD.cpp
@@ -384,9 +384,11 @@ void CVMROSD::ClearMessage()
{
if (m_pVMB)
{
- m_VMR9AlphaBitmap.dwFlags |= VMRBITMAP_DISABLE;
+ DWORD dwBackup = (m_VMR9AlphaBitmap.dwFlags | VMRBITMAP_DISABLE);
+ m_VMR9AlphaBitmap.dwFlags = VMRBITMAP_DISABLE;
m_nMessagePos = OSD_NOMESSAGE;
m_pVMB->SetAlphaBitmap(&m_VMR9AlphaBitmap);
+ m_VMR9AlphaBitmap.dwFlags = dwBackup;
}
if (m_pMFVMB)