enable HW-accelerated decoding if feasible
see example in #thirdparty/ffmpeg/bin/linux/release/x86_64/share/ffmpeg/examples/hw_decode.c