From 26d0ffc8470f8c882a42073da519349f0ef16b8b Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Fri, 10 Aug 2018 17:35:33 +0200 Subject: [PATCH] Fix typo in VideoSource --- src/Sources/VideoSource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sources/VideoSource.cpp b/src/Sources/VideoSource.cpp index eb08fc2..3241961 100644 --- a/src/Sources/VideoSource.cpp +++ b/src/Sources/VideoSource.cpp @@ -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); } }