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

Restarting playback with multi-stream medias is broken #63

Closed Ceylo closed 10 years ago

Ceylo commented 10 years ago

When restarting playback with a different stream. The newly selected stream is played twice (first time plays the packets queued during the initial playback, second time plays the correct packets).

This is due to the fact that packets for inactive streams are queued to their respective stream too. They should actually simply be discarded and they are not and won't be needed.