Fix typo in VideoSource

This commit is contained in:
Krisjanis Rijnieks
2018-08-10 17:35:33 +02:00
parent 5fb0cfc702
commit 26d0ffc847
+1 -1
View File
@@ -95,7 +95,7 @@ void VideoSource::stop(){
#else
void VideoSource::update(ofEventArgs & args){
if(!_loop && _omxPlayer != 0){
if(_omxPlayer->getGurrentFrame() >= _omxPlayer->getTotalNumFrames() - 1){
if(_omxPlayer->getCurrentFrame() >= _omxPlayer->getTotalNumFrames() - 1){
_omxPlayer->setPaused(true);
}
}