Pause problem

Pause for more than 10 seconds,_status = INVALID;
This commit is contained in:
slllllala 2019-11-07 14:51:32 +08:00 committed by GitHub
parent 04931ddb2d
commit ae341a8787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -303,6 +303,8 @@ void FFmpegImageStream::cmdPlay()
if (! m_decoder->video_decoder().isRunning())
m_decoder->video_decoder().start();
_lastUpdateTS = osg::Timer::instance()->tick();
m_decoder->video_decoder().pause(false);
m_decoder->audio_decoder().pause(false);
}