Zebediah Figura (@zfigura) commented about dlls/winegstreamer/wg_parser.c:
+ + caps_name = gst_structure_get_name(gst_caps_get_structure(caps, 0)); + + for (i = 0; i < ARRAY_SIZE(raw_caps); ++i) + { + if (!strcmp(caps_name, raw_caps[i])) + return FALSE; + } + + if (decodebin == parser->decodebin) + { + for (i = 0; i < ARRAY_SIZE(compressed_caps); ++i) + { + if (!strcmp(caps_name, compressed_caps[i])) + return FALSE; + } I don't think we quite want to do it this way, rather we should probably just test if we can convert it to a wg_format. We'll need to do that anyway. Then we can just set a flag on the stream rather than later checking the array again.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2546#note_28529