Module: wine Branch: master Commit: 0e622f64e022e06a925f560796f668c4b64e28e2 URL: https://gitlab.winehq.org/wine/wine/-/commit/0e622f64e022e06a925f560796f668c...
Author: Eric Pouech epouech@codeweavers.com Date: Wed May 10 17:16:53 2023 +0200
winegstreamer: Fix typo.
Introduced in 98d209752cee9abd8dc31dfe1f28811066b0b83f. An application (Idol Showdown) fails to play its intro video without this change.
Signed-off-by: Eric Pouech epouech@codeweavers.com
---
dlls/winegstreamer/media_source.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winegstreamer/media_source.c b/dlls/winegstreamer/media_source.c index 335b617becd..41271585454 100644 --- a/dlls/winegstreamer/media_source.c +++ b/dlls/winegstreamer/media_source.c @@ -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;