Pause problem
Pause for more than 10 seconds,_status = INVALID;
This commit is contained in:
parent
04931ddb2d
commit
ae341a8787
@ -303,6 +303,8 @@ void FFmpegImageStream::cmdPlay()
|
|||||||
if (! m_decoder->video_decoder().isRunning())
|
if (! m_decoder->video_decoder().isRunning())
|
||||||
m_decoder->video_decoder().start();
|
m_decoder->video_decoder().start();
|
||||||
|
|
||||||
|
_lastUpdateTS = osg::Timer::instance()->tick();
|
||||||
|
|
||||||
m_decoder->video_decoder().pause(false);
|
m_decoder->video_decoder().pause(false);
|
||||||
m_decoder->audio_decoder().pause(false);
|
m_decoder->audio_decoder().pause(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user