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>2013-11-07 17:27:16 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2013-11-07 17:27:16 +0400
commit5d444eac2fb31fccefa41fcf35ee3613537bc3c4 (patch)
treeaecf321cb5a78f6a58a86559660b0eda432c9440 /demuxer
parent0ae7f12805eb2b30d63445491ebf393d9c42a604 (diff)
Wait for the seek to finish before returning to the caller.
Diffstat (limited to 'demuxer')
-rw-r--r--demuxer/LAVSplitter/LAVSplitter.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/demuxer/LAVSplitter/LAVSplitter.cpp b/demuxer/LAVSplitter/LAVSplitter.cpp
index 27f00cd6..9dd67198 100644
--- a/demuxer/LAVSplitter/LAVSplitter.cpp
+++ b/demuxer/LAVSplitter/LAVSplitter.cpp
@@ -1061,6 +1061,9 @@ STDMETHODIMP CLAVSplitter::SetPositionsInternal(void *caller, LONGLONG* pCurrent
DeliverBeginFlush();
CallWorker(CMD_SEEK);
DeliverEndFlush();
+
+ // Wait for the seek to finish
+ m_ePlaybackInit.Wait();
}
DbgLog((LOG_TRACE, 20, " -> Seek finished", m_rtNewStart));