diff options
author | XhmikosR <xhmikosr@gmail.com> | 2014-08-03 18:51:22 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2014-08-03 18:51:22 +0400 |
commit | 6af4a38f7e6f557ccf0dfaa072f8be9acddfe547 (patch) | |
tree | b838fb9adf2429016ea57ecefd5ec172413323c2 /src/filters/transform | |
parent | 5cb6422a01cbf3ab18a680ea2f0b7b30e50e552b (diff) |
Fix VSFilter compilation after 15734d04acbc85effb3a209702e3ae788d86eec3.
Thanks @kasper93.
Diffstat (limited to 'src/filters/transform')
-rw-r--r-- | src/filters/transform/VSFilter/DirectVobSub.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/filters/transform/VSFilter/DirectVobSub.cpp b/src/filters/transform/VSFilter/DirectVobSub.cpp index 6cc7d27e0..9a1514ef6 100644 --- a/src/filters/transform/VSFilter/DirectVobSub.cpp +++ b/src/filters/transform/VSFilter/DirectVobSub.cpp @@ -33,7 +33,7 @@ CDirectVobSub::CDirectVobSub() m_iSelectedLanguage = 0;
m_fHideSubtitles = !!theApp.GetProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_HIDE), FALSE);
m_subPicQueueSettings.nSize = theApp.GetProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_SUBPICTTOBUFFER), 10);
- m_subPicQueueSettings.bDisallowSubtitleAnimation = !!theApp.GetProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_DISABLESUBANIM), FALSE);
+ m_subPicQueueSettings.bDisableSubtitleAnimation = !!theApp.GetProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_DISABLESUBANIM), FALSE);
m_subPicQueueSettings.nRenderAtWhenAnimationIsDisabled = theApp.GetProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_RENDERATWITHOUTANIM), 50);
m_subPicQueueSettings.nAnimationRate = theApp.GetProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_ANIMATIONRATE), 100);
m_subPicQueueSettings.bAllowDroppingSubpic = !!theApp.GetProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_ALLOWDROPPINGSUBPIC), TRUE);
@@ -210,7 +210,7 @@ STDMETHODIMP CDirectVobSub::get_AnimWhenBuffering(bool* fAnimWhenBuffering) {
CAutoLock cAutoLock(&m_propsLock);
- return fAnimWhenBuffering ? *fAnimWhenBuffering = !m_subPicQueueSettings.bDisallowSubtitleAnimation, S_OK : E_POINTER;
+ return fAnimWhenBuffering ? *fAnimWhenBuffering = !m_subPicQueueSettings.bDisableSubtitleAnimation, S_OK : E_POINTER;
}
// deprecated
@@ -218,11 +218,11 @@ STDMETHODIMP CDirectVobSub::put_AnimWhenBuffering(bool fAnimWhenBuffering) {
CAutoLock cAutoLock(&m_propsLock);
- if (m_subPicQueueSettings.bDisallowSubtitleAnimation == !fAnimWhenBuffering) {
+ if (m_subPicQueueSettings.bDisableSubtitleAnimation == !fAnimWhenBuffering) {
return S_FALSE;
}
- m_subPicQueueSettings.bDisallowSubtitleAnimation = !fAnimWhenBuffering;
+ m_subPicQueueSettings.bDisableSubtitleAnimation = !fAnimWhenBuffering;
return S_OK;
}
@@ -534,7 +534,7 @@ STDMETHODIMP CDirectVobSub::UpdateRegistry() theApp.WriteProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_HIDE), m_fHideSubtitles);
theApp.WriteProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_SUBPICTTOBUFFER), m_subPicQueueSettings.nSize);
- theApp.WriteProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_DISABLESUBANIM), m_subPicQueueSettings.bDisallowSubtitleAnimation);
+ theApp.WriteProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_DISABLESUBANIM), m_subPicQueueSettings.bDisableSubtitleAnimation);
theApp.WriteProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_RENDERATWITHOUTANIM), m_subPicQueueSettings.nRenderAtWhenAnimationIsDisabled);
theApp.WriteProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_ANIMATIONRATE), m_subPicQueueSettings.nAnimationRate);
theApp.WriteProfileInt(ResStr(IDS_R_GENERAL), ResStr(IDS_RG_ALLOWDROPPINGSUBPIC), m_subPicQueueSettings.bAllowDroppingSubpic);
@@ -798,18 +798,18 @@ STDMETHODIMP_(bool) CDirectVobSub::get_DisableSubtitleAnimation() {
CAutoLock cAutoLock(&m_propsLock);
- return m_subPicQueueSettings.bDisallowSubtitleAnimation;
+ return m_subPicQueueSettings.bDisableSubtitleAnimation;
}
STDMETHODIMP CDirectVobSub::put_DisableSubtitleAnimation(bool bDisableSubtitleAnimation)
{
CAutoLock cAutoLock(&m_propsLock);
- if (m_subPicQueueSettings.bDisallowSubtitleAnimation == bDisableSubtitleAnimation) {
+ if (m_subPicQueueSettings.bDisableSubtitleAnimation == bDisableSubtitleAnimation) {
return S_FALSE;
}
- m_subPicQueueSettings.bDisallowSubtitleAnimation = bDisableSubtitleAnimation;
+ m_subPicQueueSettings.bDisableSubtitleAnimation = bDisableSubtitleAnimation;
return S_OK;
}
|