Signed-off-by: Derek Lesho dlesho@codeweavers.com --- dlls/winegstreamer/mfplat.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/dlls/winegstreamer/mfplat.c b/dlls/winegstreamer/mfplat.c index c98c8b897a..16c1f3c6f9 100644 --- a/dlls/winegstreamer/mfplat.c +++ b/dlls/winegstreamer/mfplat.c @@ -603,6 +603,11 @@ IMFMediaType* media_type_from_caps(GstCaps *caps) } } } + else if (!(strcmp(mime_type, "video/mpeg"))) + { + IMFMediaType_SetGUID(media_type, &MF_MT_SUBTYPE, &MFVideoFormat_M4S2); + IMFMediaType_SetUINT32(media_type, &MF_MT_COMPRESSED, TRUE); + } else ERR("Unrecognized video format %s\n", mime_type); }