ofVideoPlayer shows last frame of video on replay

#1

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?

#2

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.

#3

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