ffmpeg: change ost->finished to an enum