Add seek functions into the playuver
This commit is contained in:
1 parent
585c402335
commit
50fd611291
5 files changed
+30
-4
No files matched your search
@@ -304,6 +304,8 @@ cv::Mat InputStream::getFrameCvMat()
|
||||
|
||||
Void InputStream::seekInput( Int new_frame_num )
|
||||
{
|
||||
if( new_frame_num < 0 || new_frame_num >= m_uiTotalFrameNum )
|
||||
return;
|
||||
#ifdef USE_FFMPEG
|
||||
if( m_cLibAvContext.getStatus() )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user