Does the same thing as the rpi one - makes fallback possible by pretending that h264_mediacodec is a hwdec.