[PATCH v2 3/4] winegstreamer: Introduce new WG_MAJOR_TYPE_WMA major type.
Zebediah Figura
zfigura at codeweavers.com
Tue Feb 15 23:21:23 CST 2022
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.
More information about the wine-devel
mailing list