This works. I have used older Linux versions with Mesa 21.x since my last post. Today I tested a build with Mesa 22.0.5 and it did not work, but with the above suggestion of disabling hardware acceleration decoding it worked.
I set the value to “false” instead of “disabled”, but perhaps they are interchangeable. In the config file “false” was used for all other settings though.