What is this patch trying to accomplish in general? The subject says "Add hardware H264 decoding support", but unless I'm mistaken, our current logic doesn't actually prevent hardware elements from being used.
Rather, the patch tries to prefer hardware elements, but I don't see why? I don't see why Wine should prefer hardware decoding. GStreamer can decide whether or not to use hardware decoding on its own; I don't think we currently have any information to provide to GStreamer that would aid that decision. Am I missing something?