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:
authorUnderground78 <underground78@users.sourceforge.net>2012-06-20 01:16:30 +0400
committerUnderground78 <underground78@users.sourceforge.net>2012-06-20 01:16:30 +0400
commit43f94b4c521aa2b008fa3d521300b8388e4164d0 (patch)
tree6ac4fbad1c1830225484859c8bdf3d47d095e55c
parent587d165341ab5a27594c037348a306ecd901ac4e (diff)
Revert r5198 but deobfuscate the comparison.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5202 10f7b99b-c216-0410-bff0-8a66a9350fd8
-rw-r--r--src/filters/transform/MpaDecFilter/MpaDecFilter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filters/transform/MpaDecFilter/MpaDecFilter.cpp b/src/filters/transform/MpaDecFilter/MpaDecFilter.cpp
index bcdc630ce..7b6b85424 100644
--- a/src/filters/transform/MpaDecFilter/MpaDecFilter.cpp
+++ b/src/filters/transform/MpaDecFilter/MpaDecFilter.cpp
@@ -588,7 +588,8 @@ HRESULT CMpaDecFilter::Receive(IMediaSample* pIn)
else if (subtype == MEDIASUBTYPE_DVD_LPCM_AUDIO) {
hr = ProcessLPCM();
} else if (subtype == MEDIASUBTYPE_HDMV_LPCM_AUDIO) {
- hr = ProcessHdmvLPCM((SUCCEEDED(pIn->IsSyncPoint())));
+ // TODO: check if the test is really correct
+ hr = ProcessHdmvLPCM(pIn->IsSyncPoint() == S_FALSE);
}
#endif
#if defined(STANDALONE_FILTER) || INTERNAL_DECODER_DTS