this is a better way to patch since it uses ffmpeg IMGFMT_IS_HWACCEL but it has font problem with ass

