dvdplayer: flush ffmpeg after hw decoder returned an error