16 Feb
2022
16 Feb
'22
5:21 a.m.
On 2/14/22 04:19, Rémi Bernon wrote:
@@ -752,9 +804,25 @@ void mf_media_type_to_wg_format(IMFMediaType *type, struct wg_format *format) FIXME("Major type is not set.\n"); return; } + if (FAILED(IMFMediaType_GetGUID(type, &MF_MT_SUBTYPE, &subtype))) + { + FIXME("Subtype is not set.\n"); + return; + }
As long as we've already grabbed the subtype here, we could pass it to the other mf_media_type_to_wg_format_*() functions.