diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-11-05 19:36:09 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-11-05 19:36:09 +0400 |
commit | f707f73a51beafa9352ca63e47969785acb55a13 (patch) | |
tree | ed3a57c3dbc1fb9a568fd2e9ab5728c6a5067236 | |
parent | 60e597af6ceb823c7fcaaa6041e390fddf534659 (diff) |
quicksync: reset the decoder after a EOS so decoding can resume afterwards
-rw-r--r-- | decoder/LAVVideo/decoders/quicksync.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/LAVVideo/decoders/quicksync.cpp b/decoder/LAVVideo/decoders/quicksync.cpp index 2443a98b..2c755e6b 100644 --- a/decoder/LAVVideo/decoders/quicksync.cpp +++ b/decoder/LAVVideo/decoders/quicksync.cpp @@ -531,6 +531,7 @@ STDMETHODIMP CDecQuickSync::Flush() STDMETHODIMP CDecQuickSync::EndOfStream() { m_pDecoder->Flush(true); + m_pDecoder->OnSeek(0); return S_OK; } |