mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Updated mfplat-streaming-support patchset
Restore file.
This commit is contained in:
parent
3b4ce945a6
commit
df37ef7599
@ -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
|
||||
|
@ -51,7 +51,7 @@ usage()
|
||||
# Get the upstream commit sha
|
||||
upstream_commit()
|
||||
{
|
||||
echo "79e2672858c1643d12c9a2b2b179b001da568029"
|
||||
echo "ef876fc54e207344b5809f40a59e3d5d610a6fda"
|
||||
}
|
||||
|
||||
# Show version information
|
||||
@ -2847,6 +2847,7 @@ if test "$enable_mfplat_streaming_support" -eq 1; then
|
||||
patch_apply mfplat-streaming-support/0049-Revert-Improve-tests.patch
|
||||
patch_apply mfplat-streaming-support/0050-winegstreamer-Introduce-MPEG-4-Section-2-video-decod.patch
|
||||
patch_apply mfplat-streaming-support/0051-winegstreamer-Introduce-WMA-audio-decoder.patch
|
||||
patch_apply mfplat-streaming-support/0060-winegstreamer-Support-eAVEncH264VProfile_Constrained.patch
|
||||
fi
|
||||
|
||||
# Patchset mmsystem.dll16-MIDIHDR_Refcount
|
||||
|
Loading…
Reference in New Issue
Block a user