Hi,
i 've noticed that long time ago.
You can add some frames (dublicate the last) at the end of the video. I know this is not a solution.
However, i think it has to do with the "Synchronization Gap". If you change the function "getSynchronizationGap(sf::Time& gap)" to return always true you will see the last frame. I know also that this is also not a solution to the problem.
Maybe the creator can provide a valid fix for this.
in VideoStream.cpp
bool VideoStream::getSynchronizationGap(sf::Time& gap)
{
sf::Time position;
if (computeEncodedPosition(position))
{
gap = (position - codecBufferingDelay()) - m_timer->getOffset();
return true;
}
else
{
sfeLogDebug("failed computing synchronization gap for video stream, it may become out of sync");
//return false; comment this
return true; //add this one
}
}