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:
authorclsid2 <clsid2@users.sourceforge.net>2009-12-24 18:47:51 +0300
committerclsid2 <clsid2@users.sourceforge.net>2009-12-24 18:47:51 +0300
commit148fb2beceda110b9dce27c7f546f8b4ba4725fc (patch)
treeb6d51ef6ae4f9c2944894921035fae02e199c6f2 /src/apps/mplayerc/PPageSubtitles.cpp
parenta6b41070099d20f07e99dafea0c4cb4dff9432cd (diff)
Changed "Disable Animation" checkbox in subtitle options to "Allow animation when buffering".
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1445 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/PPageSubtitles.cpp')
-rw-r--r--src/apps/mplayerc/PPageSubtitles.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/apps/mplayerc/PPageSubtitles.cpp b/src/apps/mplayerc/PPageSubtitles.cpp
index 383d73103..1bb27b1b3 100644
--- a/src/apps/mplayerc/PPageSubtitles.cpp
+++ b/src/apps/mplayerc/PPageSubtitles.cpp
@@ -37,7 +37,7 @@ CPPageSubtitles::CPPageSubtitles()
, m_nVerPos(0)
, m_nSPCSize(0)
, m_fSPCPow2Tex(FALSE)
- , m_fSPCDisableAnim(FALSE)
+ , m_fSPCAllowAnimationWhenBuffering(TRUE)
, m_nSubDelayInterval(0)
{
}
@@ -60,7 +60,7 @@ void CPPageSubtitles::DoDataExchange(CDataExchange* pDX)
DDX_Control(pDX, IDC_EDIT2, m_nHorPosEdit);
DDX_Control(pDX, IDC_EDIT3, m_nVerPosEdit);
DDX_Check(pDX, IDC_CHECK_SPCPOW2TEX, m_fSPCPow2Tex);
- DDX_Check(pDX, IDC_CHECK_SPCDISABLEANIM, m_fSPCDisableAnim);
+ DDX_Check(pDX, IDC_CHECK_SPCANIMWITHBUFFER, m_fAllowAnimationWhenBuffering);
DDX_Text(pDX, IDC_EDIT4, m_nSubDelayInterval);
}
@@ -147,7 +147,7 @@ BOOL CPPageSubtitles::OnInitDialog()
m_spmaxres.AddString(_T("384x288"));
m_spmaxres.SetCurSel(TranslateResIn(s.nSPCMaxRes));
m_fSPCPow2Tex = s.fSPCPow2Tex;
- m_fSPCDisableAnim = s.fSPCDisableAnim;
+ m_fSPCAllowAnimationWhenBuffering = s.fSPCAllowAnimationWhenBuffering;
m_nSubDelayInterval = s.nSubDelayInterval;
UpdateData(FALSE);
@@ -171,7 +171,7 @@ BOOL CPPageSubtitles::OnApply()
|| s.nSubDelayInterval != m_nSubDelayInterval
|| s.nSPCMaxRes != TranslateResOut(m_spmaxres.GetCurSel())
|| s.fSPCPow2Tex != !!m_fSPCPow2Tex
- || s.fSPCDisableAnim != !!m_fSPCDisableAnim)
+ || s.fSPCAllowAnimationWhenBuffering != !!m_fSPCAllowAnimationWhenBuffering)
{
s.fOverridePlacement = !!m_fOverridePlacement;
s.nHorPos = m_nHorPos;
@@ -180,7 +180,7 @@ BOOL CPPageSubtitles::OnApply()
s.nSubDelayInterval = m_nSubDelayInterval;
s.nSPCMaxRes = TranslateResOut(m_spmaxres.GetCurSel());
s.fSPCPow2Tex = !!m_fSPCPow2Tex;
- s.fSPCDisableAnim = !!m_fSPCDisableAnim;
+ s.fSPCAllowAnimationWhenBuffering = !!m_fSPCAllowAnimationWhenBuffering;
if(CMainFrame* pFrame = (CMainFrame*)GetParentFrame())
pFrame->UpdateSubtitle(true);