31 Mar
2023
31 Mar
'23
7:35 p.m.
Zebediah Figura (@zfigura) commented about dlls/winegstreamer/wg_parser.c:
+ return NULL; +} + +static gboolean autoplug_continue_cb(GstElement * decodebin, GstPad *pad, GstCaps * caps, gpointer user) +{ + struct wg_parser *parser = user; + const char *caps_name; + unsigned int i; + + 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; + } We shouldn't need this part; decodebin will detect that the caps are raw and stop anyway.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2546#note_28528