Skip to content

Commit

Permalink
Function to retrive isOpen
Browse files Browse the repository at this point in the history
  • Loading branch information
PTS93 committed May 5, 2015
1 parent e0a9904 commit d614d52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ofxOMXPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,12 @@ bool ofxOMXPlayer::openEngine(int startTimeInSeconds) //default 0

}

bool ofxOMXPlayer::getIsOpen()
{
return isOpen;
}


void ofxOMXPlayer::togglePause()
{
if (engine)
Expand Down
1 change: 1 addition & 0 deletions src/ofxOMXPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class ofxOMXPlayer
int getWidth();
float getFPS();
double getMediaTime();
bool getIsOpen();
float getDurationInSeconds();
int getCurrentFrame();
int getTotalNumFrames();
Expand Down

0 comments on commit d614d52

Please sign in to comment.