mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
mfplat-streaming-support: Remove patch 0083.
Per private correspondence with Rémi, this doesn't seem to be necessary.
This commit is contained in:
parent
092bc29352
commit
d490a981e1
@ -1,49 +0,0 @@
|
||||
From 0f2c90c60d6ec76f5339dd891e5a3160ce9dea2f Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?R=C3=A9mi=20Bernon?= <rbernon@codeweavers.com>
|
||||
Date: Tue, 8 Feb 2022 11:21:39 +0100
|
||||
Subject: [PATCH 83/88] winegstreamer: Reset internal format on BEGIN_STREAMING
|
||||
message.
|
||||
|
||||
In order to regenerate a MF_E_TRANSFORM_STREAM_CHANGE status on next
|
||||
successful ProcessOutput. CoD: Black Ops 3 depends on this, or crashes
|
||||
if MF_E_TRANSFORM_STREAM_CHANGE isn't returned when the campaign intro
|
||||
video begins to play.
|
||||
|
||||
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45988
|
||||
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47084
|
||||
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49715
|
||||
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52183
|
||||
CW-Bug-Id: #16839
|
||||
CW-Bug-Id: #18678
|
||||
CW-Bug-Id: #19362
|
||||
---
|
||||
dlls/winegstreamer/h264_decoder.c | 12 ++++++++++++
|
||||
1 file changed, 12 insertions(+)
|
||||
|
||||
diff --git a/dlls/winegstreamer/h264_decoder.c b/dlls/winegstreamer/h264_decoder.c
|
||||
index ba6e681890b..ede0bd36bce 100644
|
||||
--- a/dlls/winegstreamer/h264_decoder.c
|
||||
+++ b/dlls/winegstreamer/h264_decoder.c
|
||||
@@ -522,7 +522,19 @@ static HRESULT WINAPI h264_decoder_ProcessEvent(IMFTransform *iface, DWORD id, I
|
||||
|
||||
static HRESULT WINAPI h264_decoder_ProcessMessage(IMFTransform *iface, MFT_MESSAGE_TYPE message, ULONG_PTR param)
|
||||
{
|
||||
+ struct h264_decoder *decoder = impl_from_IMFTransform(iface);
|
||||
+
|
||||
FIXME("iface %p, message %#x, param %p stub!\n", iface, message, (void *)param);
|
||||
+
|
||||
+ switch (message)
|
||||
+ {
|
||||
+ case MFT_MESSAGE_NOTIFY_BEGIN_STREAMING:
|
||||
+ memset(&decoder->wg_format, 0, sizeof(decoder->wg_format));
|
||||
+ break;
|
||||
+ default:
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
--
|
||||
2.34.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user