Yalir / sfeMovie

sfeMovie is a simple C++ library that lets you play movies in SFML based applications. It relies on FFmpeg to read medias and remains consistent with SFML's naming conventions.
http://sfemovie.yalir.org/
GNU Lesser General Public License v2.1
114 stars 37 forks source link

Application freezes when stopping video #112

Open Matt8110 opened 1 year ago

Matt8110 commented 1 year ago

I'm having a problem with .bik videos. The videos play fine, but they don't stop at the end. Using getPlayingOffset I can see it just goes right on past the length of the video. I tried checking the current offset against the duration and stopping it when it's a few milliseconds from the end. This causes my entire application to freeze.

At first I thought I was doing something wrong, but everything works as expected when I replace the video with an MP4.

It does work as expected as long as I stop the video within the first 1/4 or so.