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);