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

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-10-14 01:10:08 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2012-10-14 01:10:08 +0400
commit625df44765af2e1e08a022debbc6ed8b0123ae13 (patch)
treeeaabf839993a66a449608732de613c29df7cf55c /decoder/LAVVideo
parentaf988e687bef4897fba430fd9addf4c56e15e622 (diff)
Disable full multi-threading with DVD playback.
Diffstat (limited to 'decoder/LAVVideo')
-rw-r--r--decoder/LAVVideo/DecodeThread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/LAVVideo/DecodeThread.cpp b/decoder/LAVVideo/DecodeThread.cpp
index 865af558..369a66b7 100644
--- a/decoder/LAVVideo/DecodeThread.cpp
+++ b/decoder/LAVVideo/DecodeThread.cpp
@@ -433,7 +433,7 @@ done:
}
m_Codec = codec;
- m_bThreadSafe = m_pDecoder->HasThreadSafeBuffers() == S_OK;
+ m_bThreadSafe = m_pDecoder->HasThreadSafeBuffers() == S_OK && !(m_pLAVVideo->GetDecodeFlags() & LAV_VIDEO_DEC_FLAG_DVD);
return hr;
}