diff options
author | Underground78 <underground78@users.sourceforge.net> | 2014-07-17 19:08:37 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2014-07-18 01:36:27 +0400 |
commit | 610a85552c1ace88e3dee7afce00f72064f2673c (patch) | |
tree | a0aa67ec64064bdbe2e969b41709971cdc50753d /src/filters/transform | |
parent | 815d90f09e4287735a12e5af44daa85f9b48b770 (diff) |
VobSub: Avoid using booleans directly in computations and use the b prefix.
Diffstat (limited to 'src/filters/transform')
-rw-r--r-- | src/filters/transform/VSFilter/DirectVobSubFilter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/transform/VSFilter/DirectVobSubFilter.cpp b/src/filters/transform/VSFilter/DirectVobSubFilter.cpp index 35d2f7d06..4c815a601 100644 --- a/src/filters/transform/VSFilter/DirectVobSubFilter.cpp +++ b/src/filters/transform/VSFilter/DirectVobSubFilter.cpp @@ -1605,7 +1605,7 @@ void CDirectVobSubFilter::SetSubtitle(ISubStream* pSubStream) if (clsid == __uuidof(CVobSubFile) || clsid == __uuidof(CVobSubStream)) {
if (auto pVSS = dynamic_cast<CVobSubSettings*>(pSubStream)) {
pVSS->SetAlignment(m_fOverridePlacement, m_PlacementXperc, m_PlacementYperc);
- pVSS->m_fOnlyShowForcedSubs = m_fOnlyShowForcedVobSubs;
+ pVSS->m_bOnlyShowForcedSubs = m_fOnlyShowForcedVobSubs;
}
} else if (clsid == __uuidof(CRenderedTextSubtitle)) {
CRenderedTextSubtitle* pRTS = (CRenderedTextSubtitle*)pSubStream;
|