ofVideoPlayer shows last frame of video on replay


So I have an array of videos that I play on Linux. I let the videos play all the way through and just trigger them with play every now and then.

For some reason the video starts by showing the last frame of the video when I play it again.

Any ideas?


My guess would be that its playhead hadn’t been reset. When the video has finished (you can check for that with a member function that returns true or false, I’m sure), the video should be explicitly stopped or “rewound” to position/frame 0.


check if you are using video.update before or after video.draw