Instead of checking whether the format is a hwaccel format, check whether it's the exact format we've requested for hardware decoding.
Instead of checking whether the format is a hwaccel format, check whether it's the exact format we've requested for hardware decoding.