added flag to freeze video frame at playback end

Simple change; allows calling application to transition out of a video end more cleanly.