Fix libav seek to the beginning of the stream

This commit is contained in:
2018-10-18 03:09:30 +01:00
parent cac909c35e
commit 8ed4dc81dd
+1
View File
@@ -460,6 +460,7 @@ bool StreamHandlerLibav::seek( unsigned long long int iFrameNum )
{
return false;
}
avcodec_flush_buffers( m_cCodedCtx );
m_uiCurrFrameFileIdx = iFrameNum;
return true;
}