Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

movie.isPlaying() returning inconsistent values

$
0
0

@Regi wrote:

Hi,

I was wondering if anyone's experienced isPlaying() for a video to return inconsistent values. In my case even if the video is playing (i can actually see it running), cout'ing movie.isPlaying() returns false in the update loop.

I start the video on a key press

movie1.setFrame(1);
movie1.play();

Restarting the video several times like this gives true or false from time to time when the video is playing.
What would another workaround be to see if the video is done playing?

I'm on Windows with OF 0.9.8

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles