April 11, 2023
9:31 a.m.
Rémi Bernon (@rbernon) commented about dlls/winegstreamer/wg_transform.c:
return InterlockedExchangePointer((void **)&transform->output_wg_sample, NULL); }
+static bool wg_format_need_video_flip(const struct wg_format *format1, const struct wg_format *format2) +{ + return format1->major_type == WG_MAJOR_TYPE_VIDEO + && format2->major_type == WG_MAJOR_TYPE_VIDEO + && (format1->u.video.height > 0) != (format2->u.video.height > 0); +} +
What about decoding from compressed format to RGB? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2471#note_29568