ffmpeg: rewrite vsync / notimestamps handling