winegstreamer: Fix typo.

Introduced in 98d209752c.
An application (Idol Showdown) fails to play its intro video without
this change.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
Eric Pouech 2023-05-10 17:16:53 +02:00 committed by Alexandre Julliard
parent 0542346d3b
commit 0e622f64e0

View file

@ -947,7 +947,7 @@ static HRESULT media_stream_init_desc(struct media_stream *stream)
if (FAILED(hr = MFCreateMediaType(&iyuv_type)))
goto done;
if (FAILED(hr = IMFMediaType_CopyAllItems(iyuv_type, (IMFAttributes *)iyuv_type)))
if (FAILED(hr = IMFMediaType_CopyAllItems(new_type, (IMFAttributes *)iyuv_type)))
goto done;
if (FAILED(hr = IMFMediaType_SetGUID(iyuv_type, &MF_MT_SUBTYPE, &MFVideoFormat_IYUV)))
goto done;