From 62a0843d0505fd4f0884000dba45d8c9267abbf5 Mon Sep 17 00:00:00 2001 From: andrey Date: Wed, 4 Jul 2018 15:22:33 +0300 Subject: [PATCH] fix previous commit --- src/AVDemuxThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AVDemuxThread.cpp b/src/AVDemuxThread.cpp index ebc80596c..82983afd5 100644 --- a/src/AVDemuxThread.cpp +++ b/src/AVDemuxThread.cpp @@ -566,7 +566,7 @@ void AVDemuxThread::run() m_repeat_current++; qDebug() << " m_repeat_current = " << m_repeat_current; qDebug() << " m_repeat_max = " << m_repeat_max; - seek((qint64)0, SeekType::AccurateSeek); + seek(qint64(0), AccurateSeek); } // if avthread may skip 1st eof packet because of a/v sync const int kMaxEof = 1;//if buffer packet, we can use qMax(aqueue->bufferValue(), vqueue->bufferValue()) and not call blockEmpty(false);