diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-10-14 01:10:08 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-10-14 01:10:08 +0400 |
commit | 625df44765af2e1e08a022debbc6ed8b0123ae13 (patch) | |
tree | eaabf839993a66a449608732de613c29df7cf55c /decoder/LAVVideo | |
parent | af988e687bef4897fba430fd9addf4c56e15e622 (diff) |
Disable full multi-threading with DVD playback.
Diffstat (limited to 'decoder/LAVVideo')
-rw-r--r-- | decoder/LAVVideo/DecodeThread.cpp | 2 |
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; } |