Tidy up image/text subtitle distinction with FFmpeg sources.