From e015f0590c1cc0136dd3038466c7a7484aeba5bc Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Thu, 10 Dec 2020 14:19:50 +1100 Subject: [PATCH] Updated mfplat-streaming-support patchset Godfall intro movie playback - Still crashes though if you dont click to skip before it ends. --- ...x-oopsie-on-audio-and-color-converte.patch | 40 +++++++++++++++++++ patches/patchinstall.sh | 3 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 patches/mfplat-streaming-support/0052-winegstreamer-fix-oopsie-on-audio-and-color-converte.patch diff --git a/patches/mfplat-streaming-support/0052-winegstreamer-fix-oopsie-on-audio-and-color-converte.patch b/patches/mfplat-streaming-support/0052-winegstreamer-fix-oopsie-on-audio-and-color-converte.patch new file mode 100644 index 00000000..2c7839a6 --- /dev/null +++ b/patches/mfplat-streaming-support/0052-winegstreamer-fix-oopsie-on-audio-and-color-converte.patch @@ -0,0 +1,40 @@ +From e5559216bfd46ba7d5cb294808df15ee06c08725 Mon Sep 17 00:00:00 2001 +From: Thomas Crider +Date: Tue, 8 Dec 2020 11:40:00 -0500 +Subject: [PATCH] winegstreamer: fix oopsie on audio and color converter + ProcessMessage case + +--- + dlls/winegstreamer/audioconvert.c | 2 +- + dlls/winegstreamer/colorconvert.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/dlls/winegstreamer/audioconvert.c b/dlls/winegstreamer/audioconvert.c +index e709c43ed5c..b3c4c371be5 100644 +--- a/dlls/winegstreamer/audioconvert.c ++++ b/dlls/winegstreamer/audioconvert.c +@@ -567,7 +567,7 @@ static HRESULT WINAPI audio_converter_ProcessMessage(IMFTransform *iface, MFT_ME + + switch(message) + { +- case MFT_MESSAGE_NOTIFY_START_OF_STREAM: ++ case MFT_MESSAGE_NOTIFY_BEGIN_STREAMING: + return S_OK; + default: + FIXME("Unhandled message type %x.\n", message); +diff --git a/dlls/winegstreamer/colorconvert.c b/dlls/winegstreamer/colorconvert.c +index c7b1fae393f..b049d0c074a 100644 +--- a/dlls/winegstreamer/colorconvert.c ++++ b/dlls/winegstreamer/colorconvert.c +@@ -562,7 +562,7 @@ static HRESULT WINAPI color_converter_ProcessMessage(IMFTransform *iface, MFT_ME + + switch(message) + { +- case MFT_MESSAGE_NOTIFY_START_OF_STREAM: ++ case MFT_MESSAGE_NOTIFY_BEGIN_STREAMING: + return S_OK; + default: + FIXME("Unhandled message type %x.\n", message); +-- +2.28.0 + diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index f408c7d9..966bd640 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -51,7 +51,7 @@ usage() # Get the upstream commit sha upstream_commit() { - echo "310019789f7bde12ae3f25f723957c975fb2f804" + echo "76c9dbd4fb99f1257734908906c846a3c25ca77b" } # Show version information @@ -2905,6 +2905,7 @@ if test "$enable_mfplat_streaming_support" -eq 1; then patch_apply mfplat-streaming-support/0049-winegstreamer-Introduce-MPEG-4-Section-2-video-decod.patch patch_apply mfplat-streaming-support/0050-winegstreamer-Introduce-WMA-audio-decoder.patch patch_apply mfplat-streaming-support/0051-winegstreamer-Implement-MF_SD_LANGUAGE.patch + patch_apply mfplat-streaming-support/0052-winegstreamer-fix-oopsie-on-audio-and-color-converte.patch patch_apply mfplat-streaming-support/0060-winegstreamer-Support-eAVEncH264VProfile_Constrained.patch fi