You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-12-15 08:03:15 -08:00
Updated mfplat-streaming-support patchset
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
From e8cf102151b0fdcd5ccf54ad207e1256e3725b3c Mon Sep 17 00:00:00 2001
|
||||
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
||||
Date: Sun, 30 Aug 2020 12:37:59 +1000
|
||||
Subject: [PATCH] winegstreamer: Support eAVEncH264VProfile_ConstrainedBase
|
||||
media type
|
||||
|
||||
Game: American Fugitive
|
||||
---
|
||||
dlls/winegstreamer/mfplat.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/dlls/winegstreamer/mfplat.c b/dlls/winegstreamer/mfplat.c
|
||||
index 21d44c498b8..7e482b77863 100644
|
||||
--- a/dlls/winegstreamer/mfplat.c
|
||||
+++ b/dlls/winegstreamer/mfplat.c
|
||||
@@ -835,6 +835,8 @@ static IMFMediaType* transform_to_media_type(GstCaps *caps)
|
||||
IMFMediaType_SetUINT32(media_type, &MF_MT_MPEG2_PROFILE, eAVEncH264VProfile_High);
|
||||
else if (!(strcmp(profile, "high-4:4:4")))
|
||||
IMFMediaType_SetUINT32(media_type, &MF_MT_MPEG2_PROFILE, eAVEncH264VProfile_444);
|
||||
+ else if (!(strcmp(profile, "constrained-baseline")))
|
||||
+ IMFMediaType_SetUINT32(media_type, &MF_MT_MPEG2_PROFILE, eAVEncH264VProfile_ConstrainedBase);
|
||||
else
|
||||
FIXME("Unrecognized profile %s\n", profile);
|
||||
}
|
||||
@@ -1274,6 +1276,7 @@ GstCaps *caps_from_mf_media_type(IMFMediaType *type)
|
||||
case eAVEncH264VProfile_Main: profile = "main"; break;
|
||||
case eAVEncH264VProfile_High: profile = "high"; break;
|
||||
case eAVEncH264VProfile_444: profile = "high-4:4:4"; break;
|
||||
+ case eAVEncH264VProfile_ConstrainedBase: profile = "constrained-baseline"; break;
|
||||
default: FIXME("Unknown profile %u\n", h264_profile);
|
||||
}
|
||||
if (profile)
|
||||
--
|
||||
2.28.0
|
||||
|
||||
Reference in New Issue
Block a user