diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-11-07 18:11:55 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-11-07 18:11:55 +0400 |
commit | 6da6023f2d238efc1d338785b048bf2584ababdf (patch) | |
tree | 6756a525fd8f4e5f30120628f191a643d7814ef4 /demuxer | |
parent | a44883244bcae9aa7ff725d8be804fa956d86887 (diff) |
Revert "Wait for the seek to finish before returning to the caller."
This reverts commit 5d444eac2fb31fccefa41fcf35ee3613537bc3c4.
Locking the main thread of several players while the graph is in motion
may result in bad locks, so it should be avoided.
Diffstat (limited to 'demuxer')
-rw-r--r-- | demuxer/LAVSplitter/LAVSplitter.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/demuxer/LAVSplitter/LAVSplitter.cpp b/demuxer/LAVSplitter/LAVSplitter.cpp index 9dd67198..27f00cd6 100644 --- a/demuxer/LAVSplitter/LAVSplitter.cpp +++ b/demuxer/LAVSplitter/LAVSplitter.cpp @@ -1061,9 +1061,6 @@ 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)); |