Skip to content

Commit

Permalink
Merge pull request #52 from PTS93/develop
Browse files Browse the repository at this point in the history
Function to retrieve isOpen
  • Loading branch information
jvcleave committed May 5, 2015
2 parents e0a9904 + d614d52 commit f6245b9
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 f6245b9

Please sign in to comment.