quartz-MediaSeeking_Positions: Remove patch set.

There is no reference for an application that needs this, and a quick test
shows that it is incorrect for both the base passthrough object and for every
filter we have that uses it.
This commit is contained in:
Zebediah Figura 2021-06-02 23:00:23 -05:00
parent 06523ed0a0
commit 3e16509e0e
3 changed files with 0 additions and 45 deletions

View File

@ -184,7 +184,6 @@ patch_enable_all ()
enable_packager_DllMain="$1"
enable_programs_findstr="$1"
enable_programs_systeminfo="$1"
enable_quartz_MediaSeeking_Positions="$1"
enable_riched20_Class_Tests="$1"
enable_riched20_IText_Interface="$1"
enable_secur32_InitializeSecurityContextW="$1"
@ -598,9 +597,6 @@ patch_enable ()
programs-systeminfo)
enable_programs_systeminfo="$2"
;;
quartz-MediaSeeking_Positions)
enable_quartz_MediaSeeking_Positions="$2"
;;
riched20-Class_Tests)
enable_riched20_Class_Tests="$2"
;;
@ -3006,15 +3002,6 @@ if test "$enable_programs_systeminfo" -eq 1; then
patch_apply programs-systeminfo/0001-systeminfo-add-basic-functionality.patch
fi
# Patchset quartz-MediaSeeking_Positions
# |
# | Modified files:
# | * dlls/strmbase/pospass.c
# |
if test "$enable_quartz_MediaSeeking_Positions" -eq 1; then
patch_apply quartz-MediaSeeking_Positions/0001-strmbase-Fix-MediaSeekingPassThru_GetPositions-retur.patch
fi
# Patchset riched20-Class_Tests
# |
# | Modified files:

View File

@ -1,31 +0,0 @@
From df8c6c12fcb38d5fc4f6a279d775aaec2b9d8a18 Mon Sep 17 00:00:00 2001
From: "Erich E. Hoover" <erich.e.hoover@wine-staging.com>
Date: Mon, 2 Mar 2015 11:01:22 -0700
Subject: strmbase: Fix MediaSeekingPassThru_GetPositions return when the pins
are unconnected.
---
dlls/strmbase/pospass.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/strmbase/pospass.c b/dlls/strmbase/pospass.c
index e547328..424853a 100644
--- a/dlls/strmbase/pospass.c
+++ b/dlls/strmbase/pospass.c
@@ -526,9 +526,11 @@ static HRESULT WINAPI MediaSeekingPassThru_GetPositions(IMediaSeeking * iface, L
if (SUCCEEDED(hr)) {
hr = IMediaSeeking_GetPositions(seek, pCurrent, pStop);
IMediaSeeking_Release(seek);
+ } else if (hr == VFW_E_NOT_CONNECTED) {
+ *pCurrent = 0;
+ *pStop = 0;
+ hr = S_OK;
}
- else
- return E_NOTIMPL;
return hr;
}
--
1.9.1

View File

@ -1 +0,0 @@
Fixes: Return correct IMediaSeeking stream positions in quartz