Skip to content

Commit 334a767

Browse files
rtsp12
1 parent 272b630 commit 334a767

File tree

48 files changed

+854
-673
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+854
-673
lines changed

patches/protonprep-valve-staging.sh

Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -314,42 +314,41 @@
314314
patch -Np1 < ../patches/wine-gst/0005-mfmediaengine-tests-Test-IMFMediaEngineEx-SetCurrent.patch
315315
patch -Np1 < ../patches/wine-gst/0006-mfmediaengine-Implement-IMFMediaEngine-IsSeeking.patch
316316
patch -Np1 < ../patches/wine-gst/0007-AVPro-Video-seeking-support.patch
317-
patch -Np1 < ../patches/wine-gst/0008-mf-session-Avoid-leaking-samples-in-transform_node_d.patch
318-
patch -Np1 < ../patches/wine-gst/0009-Memory-leak-fixes.patch
319-
patch -Np1 < ../patches/wine-gst/0010-winegstreamer-Initialize-condition-variable-of-struc.patch
320-
patch -Np1 < ../patches/wine-gst/0011-winegstreamer-Connect-autoplug-continue-and-deep-ele.patch
321-
patch -Np1 < ../patches/wine-gst/0012-winegstreamer-Do-not-create-a-read-thread-for-uridec.patch
322-
patch -Np1 < ../patches/wine-gst/0013-winegstreamer-Ignore-an-assert-in-wg_parser.patch
323-
patch -Np1 < ../patches/wine-gst/0014-winegstreamer-Fixate-caps-in-autoplug_continue_cb.patch
324-
patch -Np1 < ../patches/wine-gst/0015-winegstreamer-Make-wg_parser-report-the-exact-suppor.patch
325-
patch -Np1 < ../patches/wine-gst/0016-winegstreamer-Add-more-RTSP-based-URI-schemes-to-GSt.patch
326-
patch -Np1 < ../patches/wine-gst/0017-winegstreamer-Fixate-caps-in-the-pad-added-callback.patch
327-
patch -Np1 < ../patches/wine-gst/0018-winegstreamer-Mark-wg_parser-container-bin-as-stream.patch
328-
patch -Np1 < ../patches/wine-gst/0019-winegstreamer-Set-a-clock-for-the-wg_parser-pipeline.patch
329-
patch -Np1 < ../patches/wine-gst/0020-winegstreamer-Set-base-time-on-wg_parser-bin-while-c.patch
330-
patch -Np1 < ../patches/wine-gst/0021-winegstreamer-Put-pipeline-into-PLAYING-state-before.patch
331-
patch -Np1 < ../patches/wine-gst/0022-winegstreamer-Don-t-only-accept-segment-events-when-.patch
332-
patch -Np1 < ../patches/wine-gst/0023-winegstreamer-Convert-buffer-presentation-timestamps.patch
333-
patch -Np1 < ../patches/wine-gst/0024-winegstreamer-Adjust-buffer-timestamps-after-seek.patch
334-
patch -Np1 < ../patches/wine-gst/0025-winegstreamer-Reorder-parser-initialization-code-a-b.patch
335-
patch -Np1 < ../patches/wine-gst/0026-winegstreamer-Do-away-with-the-per-stream-condvars-a.patch
336-
patch -Np1 < ../patches/wine-gst/0027-winegstreamer-Use-pthread_cond_broadcast-instead-of-.patch
337-
patch -Np1 < ../patches/wine-gst/0028-winegstreamer-Do-not-fail-caps-negotiation-when-ther.patch
338-
patch -Np1 < ../patches/wine-gst/0029-winegstreamer-Do-not-seek-live-sources.patch
339-
patch -Np1 < ../patches/wine-gst/0030-winegstreamer-Implement-buffering-events.patch
340-
patch -Np1 < ../patches/wine-gst/0031-mf-Send-sample-requests-for-unused-space-of-sample-q.patch
341-
patch -Np1 < ../patches/wine-gst/0032-winegstreamer-Fix-race-between-wg_parser_stream_disa.patch
342-
patch -Np1 < ../patches/wine-gst/0033-winegstreamer-Handle-Gstreamer-pipeline-flushes-grac.patch
343-
patch -Np1 < ../patches/wine-gst/0034-winegstreamer-Do-waits-for-samples-on-stream-specifi.patch
344-
patch -Np1 < ../patches/wine-gst/0035-HACK-winegstreamer-Add-a-resampler-to-wg_parser-for-.patch
345-
patch -Np1 < ../patches/wine-gst/0036-HACK-winegstreamer-Add-a-videoscale-element-to-wg_pa.patch
346-
patch -Np1 < ../patches/wine-gst/0037-HACK-mfmediaengine-Do-not-send-MF_MEDIA_ENGINE_EVENT.patch
347-
patch -Np1 < ../patches/wine-gst/0038-Marker-commit-do-not-put-into-MR.patch
348-
patch -Np1 < ../patches/wine-gst/0039-DEBUG-winegstreamer-GST_LOG-GST_DEBUG.patch
349-
patch -Np1 < ../patches/wine-gst/0040-HACK-kernelbase-yt-dlp.exe-redirection-and-cmdline-m.patch
350-
patch -Np1 < ../patches/wine-gst/0041-mf-Schedule-stored-timers-for-the-original-time-inst.patch
351-
patch -Np1 < ../patches/wine-gst/0042-mf-Start-forwarding-samples-only-at-the-PTS-of-the-f.patch
352-
patch -Np1 < ../patches/wine-gst/0043-ntdll-Use-unixcall-instead-of-syscall-for-QueryPerfo.patch
317+
patch -Np1 < ../patches/wine-gst/0008-Memory-leak-fixes.patch
318+
patch -Np1 < ../patches/wine-gst/0009-winegstreamer-Initialize-condition-variable-of-struc.patch
319+
patch -Np1 < ../patches/wine-gst/0010-winegstreamer-Connect-autoplug-continue-and-deep-ele.patch
320+
patch -Np1 < ../patches/wine-gst/0011-winegstreamer-Do-not-create-a-read-thread-for-uridec.patch
321+
patch -Np1 < ../patches/wine-gst/0012-winegstreamer-Ignore-an-assert-in-wg_parser.patch
322+
patch -Np1 < ../patches/wine-gst/0013-winegstreamer-Make-wg_parser-report-the-exact-suppor.patch
323+
patch -Np1 < ../patches/wine-gst/0014-winegstreamer-Add-more-RTSP-based-URI-schemes-to-GSt.patch
324+
patch -Np1 < ../patches/wine-gst/0015-winegstreamer-Mark-wg_parser-container-bin-as-stream.patch
325+
patch -Np1 < ../patches/wine-gst/0016-winegstreamer-Set-a-clock-for-the-wg_parser-pipeline.patch
326+
patch -Np1 < ../patches/wine-gst/0017-winegstreamer-Set-base-time-on-wg_parser-bin-while-c.patch
327+
patch -Np1 < ../patches/wine-gst/0018-winegstreamer-Put-pipeline-into-PLAYING-state-before.patch
328+
patch -Np1 < ../patches/wine-gst/0019-winegstreamer-Don-t-only-accept-segment-events-when-.patch
329+
patch -Np1 < ../patches/wine-gst/0020-winegstreamer-Convert-buffer-presentation-timestamps.patch
330+
patch -Np1 < ../patches/wine-gst/0021-winegstreamer-Reorder-parser-initialization-code-a-b.patch
331+
patch -Np1 < ../patches/wine-gst/0022-winegstreamer-Do-away-with-the-per-stream-condvars-a.patch
332+
patch -Np1 < ../patches/wine-gst/0023-winegstreamer-Use-pthread_cond_broadcast-instead-of-.patch
333+
patch -Np1 < ../patches/wine-gst/0024-winegstreamer-Do-not-fail-caps-negotiation-when-ther.patch
334+
patch -Np1 < ../patches/wine-gst/0025-winegstreamer-Do-not-seek-live-sources.patch
335+
patch -Np1 < ../patches/wine-gst/0026-winegstreamer-Implement-buffering-events.patch
336+
patch -Np1 < ../patches/wine-gst/0027-mf-Send-sample-requests-for-unused-space-of-sample-q.patch
337+
patch -Np1 < ../patches/wine-gst/0028-winegstreamer-Fix-race-between-wg_parser_stream_disa.patch
338+
patch -Np1 < ../patches/wine-gst/0029-winegstreamer-Handle-Gstreamer-pipeline-flushes-grac.patch
339+
patch -Np1 < ../patches/wine-gst/0030-winegstreamer-Do-waits-for-samples-on-stream-specifi.patch
340+
patch -Np1 < ../patches/wine-gst/0031-mf-session-Ensure-that-the-command-callback-does-not.patch
341+
patch -Np1 < ../patches/wine-gst/0032-Revert-winegstreamer-Make-wg_parser-report-the-exact.patch
342+
patch -Np1 < ../patches/wine-gst/0033-winegstreamer-Do-not-force-uridecodebin-to-expose-un.patch
343+
patch -Np1 < ../patches/wine-gst/0034-HACK-winegstreamer-Add-a-resampler-to-wg_parser-for-.patch
344+
patch -Np1 < ../patches/wine-gst/0035-HACK-winegstreamer-Add-a-videoscale-element-to-wg_pa.patch
345+
patch -Np1 < ../patches/wine-gst/0036-HACK-mfmediaengine-Do-not-send-MF_MEDIA_ENGINE_EVENT.patch
346+
patch -Np1 < ../patches/wine-gst/0037-Marker-commit-do-not-put-into-MR.patch
347+
patch -Np1 < ../patches/wine-gst/0038-DEBUG-winegstreamer-GST_LOG-GST_DEBUG.patch
348+
patch -Np1 < ../patches/wine-gst/0039-HACK-kernelbase-yt-dlp.exe-redirection-and-cmdline-m.patch
349+
patch -Np1 < ../patches/wine-gst/0040-mf-Schedule-stored-timers-for-the-original-time-inst.patch
350+
patch -Np1 < ../patches/wine-gst/0041-mf-Start-forwarding-samples-only-at-the-PTS-of-the-f.patch
351+
patch -Np1 < ../patches/wine-gst/0042-ntdll-Use-unixcall-instead-of-syscall-for-QueryPerfo.patch
353352

354353
#echo "WINE: -Nvidia Reflex- Support VK_NV_low_latency2"
355354
#patch -Np1 < ../patches/proton/83-nv_low_latency_wine.patch

patches/wine-gst/0001-mf-Add-seeking-support-for-IMFMediaSession-Start.patch

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
From bc88e82ada1457245f246b6d5621b13b3d9ab760 Mon Sep 17 00:00:00 2001
1+
From 5a42c6f7a56ffae4ac2d1367eac2d659b5336ca8 Mon Sep 17 00:00:00 2001
22
From: Zhiyi Zhang <[email protected]>
33
Date: Tue, 1 Aug 2023 10:52:21 +0800
4-
Subject: [PATCH 01/43] mf: Add seeking support for IMFMediaSession::Start().
4+
Subject: [PATCH 01/42] mf: Add seeking support for IMFMediaSession::Start().
55

66
---
77
dlls/mf/session.c | 57 ++++++++++++++++++++++++++++++++++++++++++-----
88
1 file changed, 51 insertions(+), 6 deletions(-)
99

1010
diff --git a/dlls/mf/session.c b/dlls/mf/session.c
11-
index ef707dea4de..3f3be2b84b0 100644
11+
index 4f94d3c30a7..a5caad3c97a 100644
1212
--- a/dlls/mf/session.c
1313
+++ b/dlls/mf/session.c
1414
@@ -110,6 +110,7 @@ enum object_state
@@ -19,7 +19,7 @@ index ef707dea4de..3f3be2b84b0 100644
1919
OBJ_STATE_INVALID,
2020
};
2121

22-
@@ -912,10 +913,28 @@ static HRESULT session_subscribe_sources(struct media_session *session)
22+
@@ -994,10 +995,28 @@ static HRESULT session_subscribe_sources(struct media_session *session)
2323
return hr;
2424
}
2525

@@ -48,7 +48,7 @@ index ef707dea4de..3f3be2b84b0 100644
4848
HRESULT hr;
4949
UINT i;
5050

51-
@@ -932,6 +951,13 @@ static void session_start(struct media_session *session, const GUID *time_format
51+
@@ -1014,6 +1033,13 @@ static void session_start(struct media_session *session, const GUID *time_format
5252

5353
/* fallthrough */
5454
case SESSION_STATE_PAUSED:
@@ -62,7 +62,7 @@ index ef707dea4de..3f3be2b84b0 100644
6262

6363
session->presentation.time_format = *time_format;
6464
session->presentation.start_position.vt = VT_EMPTY;
65-
@@ -945,6 +971,14 @@ static void session_start(struct media_session *session, const GUID *time_format
65+
@@ -1027,6 +1053,14 @@ static void session_start(struct media_session *session, const GUID *time_format
6666

6767
LIST_FOR_EACH_ENTRY(source, &session->presentation.sources, struct media_source, entry)
6868
{
@@ -77,7 +77,7 @@ index ef707dea4de..3f3be2b84b0 100644
7777
if (FAILED(hr = IMFMediaSource_Start(source->source, source->pd, &GUID_NULL, start_position)))
7878
{
7979
WARN("Failed to start media source %p, hr %#lx.\n", source->source, hr);
80-
@@ -965,12 +999,22 @@ static void session_start(struct media_session *session, const GUID *time_format
80+
@@ -1047,12 +1081,22 @@ static void session_start(struct media_session *session, const GUID *time_format
8181
}
8282
}
8383

@@ -104,7 +104,7 @@ index ef707dea4de..3f3be2b84b0 100644
104104
default:
105105
session_command_complete_with_event(session, MESessionStarted, MF_E_INVALIDREQUEST, NULL);
106106
break;
107-
@@ -2206,6 +2250,9 @@ static HRESULT WINAPI mfsession_Start(IMFMediaSession *iface, const GUID *format
107+
@@ -2305,6 +2349,9 @@ static HRESULT WINAPI mfsession_Start(IMFMediaSession *iface, const GUID *format
108108
if (!start_position)
109109
return E_POINTER;
110110

@@ -114,7 +114,7 @@ index ef707dea4de..3f3be2b84b0 100644
114114
if (FAILED(hr = create_session_op(SESSION_CMD_START, &op)))
115115
return hr;
116116

117-
@@ -3714,8 +3761,6 @@ static HRESULT WINAPI session_events_callback_Invoke(IMFAsyncCallback *iface, IM
117+
@@ -4038,8 +4085,6 @@ static HRESULT WINAPI session_events_callback_Invoke(IMFAsyncCallback *iface, IM
118118
{
119119
case MESourceSeeked:
120120
case MEStreamSeeked:

patches/wine-gst/0002-mf-tests-Add-a-create_media_session_with_source_sink.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
From 4ba015c45201d9cbdba3237d2c9c3a243c4e70f4 Mon Sep 17 00:00:00 2001
1+
From 134b5bbd0f07cdeaa3acd6e1d205ba1fd6cfe5c2 Mon Sep 17 00:00:00 2001
22
From: Zhiyi Zhang <[email protected]>
33
Date: Tue, 8 Aug 2023 15:24:34 +0800
4-
Subject: [PATCH 02/43] mf/tests: Add a create_media_session_with_source_sink()
4+
Subject: [PATCH 02/42] mf/tests: Add a create_media_session_with_source_sink()
55
helper.
66

77
---
88
dlls/mf/tests/mf.c | 92 ++++++++++++++++++++++++----------------------
99
1 file changed, 48 insertions(+), 44 deletions(-)
1010

1111
diff --git a/dlls/mf/tests/mf.c b/dlls/mf/tests/mf.c
12-
index 0a34329bd75..e0bcedac20f 100644
12+
index 9382d8cae35..58d8ec73c4f 100644
1313
--- a/dlls/mf/tests/mf.c
1414
+++ b/dlls/mf/tests/mf.c
15-
@@ -4995,6 +4995,53 @@ static void test_sample_grabber_is_mediatype_supported(void)
15+
@@ -4996,6 +4996,53 @@ static void test_sample_grabber_is_mediatype_supported(void)
1616
IMFSampleGrabberSinkCallback_Release(grabber_callback);
1717
}
1818

@@ -66,7 +66,7 @@ index 0a34329bd75..e0bcedac20f 100644
6666
static void test_sample_grabber_orientation(GUID subtype)
6767
{
6868
media_type_desc video_rgb32_desc =
69-
@@ -5004,17 +5051,12 @@ static void test_sample_grabber_orientation(GUID subtype)
69+
@@ -5005,17 +5052,12 @@ static void test_sample_grabber_orientation(GUID subtype)
7070
};
7171

7272
struct test_grabber_callback *grabber_callback;
@@ -84,7 +84,7 @@ index 0a34329bd75..e0bcedac20f 100644
8484
HRESULT hr;
8585
DWORD res;
8686

87-
@@ -5035,33 +5077,6 @@ static void test_sample_grabber_orientation(GUID subtype)
87+
@@ -5036,33 +5078,6 @@ static void test_sample_grabber_orientation(GUID subtype)
8888
grabber_callback->done_event = CreateEventW(NULL, FALSE, FALSE, NULL);
8989
ok(!!grabber_callback->done_event, "CreateEventW failed, error %lu\n", GetLastError());
9090

@@ -118,7 +118,7 @@ index 0a34329bd75..e0bcedac20f 100644
118118
hr = MFCreateMediaType(&output_type);
119119
ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
120120
init_media_type(output_type, video_rgb32_desc, -1);
121-
@@ -5069,18 +5084,7 @@ static void test_sample_grabber_orientation(GUID subtype)
121+
@@ -5070,18 +5085,7 @@ static void test_sample_grabber_orientation(GUID subtype)
122122
ok(hr == S_OK, "Failed to create grabber sink, hr %#lx.\n", hr);
123123
IMFMediaType_Release(output_type);
124124

patches/wine-gst/0003-mf-tests-Test-IMFMediaSession-Start.patch

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
From d4553e13b2110b7cfbcc39b5c5cc890e1a8da145 Mon Sep 17 00:00:00 2001
1+
From ca2e4786f3a1e43aa542d79df84a434a6bbe03d6 Mon Sep 17 00:00:00 2001
22
From: Zhiyi Zhang <[email protected]>
33
Date: Mon, 7 Aug 2023 11:52:20 +0800
4-
Subject: [PATCH 03/43] mf/tests: Test IMFMediaSession::Start().
4+
Subject: [PATCH 03/42] mf/tests: Test IMFMediaSession::Start().
55

66
---
77
dlls/mf/tests/mf.c | 704 ++++++++++++++++++++++++++++++++++++++++++++-
88
1 file changed, 696 insertions(+), 8 deletions(-)
99

1010
diff --git a/dlls/mf/tests/mf.c b/dlls/mf/tests/mf.c
11-
index e0bcedac20f..f164a04b989 100644
11+
index 58d8ec73c4f..240cbf194ea 100644
1212
--- a/dlls/mf/tests/mf.c
1313
+++ b/dlls/mf/tests/mf.c
14-
@@ -2086,6 +2086,448 @@ static IMFMediaSource *create_media_source(const WCHAR *name, const WCHAR *mime)
14+
@@ -2087,6 +2087,448 @@ static IMFMediaSource *create_media_source(const WCHAR *name, const WCHAR *mime)
1515
return source;
1616
}
1717

@@ -460,7 +460,7 @@ index e0bcedac20f..f164a04b989 100644
460460
static void test_media_session_events(void)
461461
{
462462
static const media_type_desc audio_float_44100 =
463-
@@ -2887,27 +3329,27 @@ static ULONG WINAPI test_grabber_callback_Release(IMFSampleGrabberSinkCallback *
463+
@@ -2888,27 +3330,27 @@ static ULONG WINAPI test_grabber_callback_Release(IMFSampleGrabberSinkCallback *
464464

465465
static HRESULT WINAPI test_grabber_callback_OnClockStart(IMFSampleGrabberSinkCallback *iface, MFTIME time, LONGLONG offset)
466466
{
@@ -493,7 +493,7 @@ index e0bcedac20f..f164a04b989 100644
493493
}
494494

495495
static HRESULT WINAPI test_grabber_callback_OnSetPresentationClock(IMFSampleGrabberSinkCallback *iface,
496-
@@ -4995,9 +5437,9 @@ static void test_sample_grabber_is_mediatype_supported(void)
496+
@@ -4996,9 +5438,9 @@ static void test_sample_grabber_is_mediatype_supported(void)
497497
IMFSampleGrabberSinkCallback_Release(grabber_callback);
498498
}
499499

@@ -505,7 +505,7 @@ index e0bcedac20f..f164a04b989 100644
505505
{
506506
IMFTopologyNode *src_node, *sink_node;
507507
IMFPresentationDescriptor *pd;
508-
@@ -5025,6 +5467,11 @@ static void create_media_session_with_source_sink(IMFMediaSource *source, IMFAct
508+
@@ -5026,6 +5468,11 @@ static void create_media_session_with_source_sink(IMFMediaSource *source, IMFAct
509509
hr = IMFPresentationDescriptor_GetStreamDescriptorByIndex(pd, 0, &selected, &sd);
510510
ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
511511
ok(selected, "got selected %u.\n", !!selected);
@@ -517,7 +517,7 @@ index e0bcedac20f..f164a04b989 100644
517517
init_source_node(source, -1, src_node, pd, sd);
518518
hr = IMFTopologyNode_SetObject(sink_node, (IUnknown *)sink_activate);
519519
ok(hr == S_OK, "Failed to set object, hr %#lx.\n", hr);
520-
@@ -5084,7 +5531,7 @@ static void test_sample_grabber_orientation(GUID subtype)
520+
@@ -5085,7 +5532,7 @@ static void test_sample_grabber_orientation(GUID subtype)
521521
ok(hr == S_OK, "Failed to create grabber sink, hr %#lx.\n", hr);
522522
IMFMediaType_Release(output_type);
523523

@@ -526,7 +526,7 @@ index e0bcedac20f..f164a04b989 100644
526526

527527
propvar.vt = VT_EMPTY;
528528
hr = IMFMediaSession_Start(session, &GUID_NULL, &propvar);
529-
@@ -7280,6 +7727,246 @@ static void test_MFCreateSequencerSegmentOffset(void)
529+
@@ -7286,6 +7733,246 @@ static void test_MFCreateSequencerSegmentOffset(void)
530530
PropVariantClear(&propvar);
531531
}
532532

@@ -773,7 +773,7 @@ index e0bcedac20f..f164a04b989 100644
773773
START_TEST(mf)
774774
{
775775
init_functions();
776-
@@ -7316,4 +8003,5 @@ START_TEST(mf)
776+
@@ -7322,4 +8009,5 @@ START_TEST(mf)
777777
test_MFRequireProtectedEnvironment();
778778
test_mpeg4_media_sink();
779779
test_MFCreateSequencerSegmentOffset();

patches/wine-gst/0004-mfmediaengine-Implement-IMFMediaEngineEx-SetCurrentT.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
From d74ea960a50420934759d2addfa649fae15f878a Mon Sep 17 00:00:00 2001
1+
From 502f072eec3417eb1ae1fde7c28ac68529d51ba5 Mon Sep 17 00:00:00 2001
22
From: Zhiyi Zhang <[email protected]>
33
Date: Fri, 28 Jul 2023 18:04:30 +0800
4-
Subject: [PATCH 04/43] mfmediaengine: Implement
4+
Subject: [PATCH 04/42] mfmediaengine: Implement
55
IMFMediaEngineEx::SetCurrentTime/Ex().
66

77
---
88
dlls/mfmediaengine/main.c | 62 +++++++++++++++++++++++++++++----------
99
1 file changed, 47 insertions(+), 15 deletions(-)
1010

1111
diff --git a/dlls/mfmediaengine/main.c b/dlls/mfmediaengine/main.c
12-
index 9e41d9dad84..28a273616c8 100644
12+
index 85b4dbb471a..6aa84e1562b 100644
1313
--- a/dlls/mfmediaengine/main.c
1414
+++ b/dlls/mfmediaengine/main.c
1515
@@ -96,6 +96,7 @@ enum media_engine_flags
@@ -36,7 +36,7 @@ index 9e41d9dad84..28a273616c8 100644
3636
IMFMediaEngineNotify_EventNotify(engine->callback, MF_MEDIA_ENGINE_EVENT_PLAYING, 0, 0);
3737
break;
3838
case MESessionEnded:
39-
@@ -1846,19 +1854,9 @@ static double WINAPI media_engine_GetCurrentTime(IMFMediaEngineEx *iface)
39+
@@ -1844,19 +1852,9 @@ static double WINAPI media_engine_GetCurrentTime(IMFMediaEngineEx *iface)
4040

4141
static HRESULT WINAPI media_engine_SetCurrentTime(IMFMediaEngineEx *iface, double time)
4242
{
@@ -58,7 +58,7 @@ index 9e41d9dad84..28a273616c8 100644
5858
}
5959

6060
static double WINAPI media_engine_GetStartTime(IMFMediaEngineEx *iface)
61-
@@ -3059,9 +3057,43 @@ static HRESULT WINAPI media_engine_SetRealTimeMode(IMFMediaEngineEx *iface, BOOL
61+
@@ -3135,9 +3133,43 @@ static HRESULT WINAPI media_engine_SetRealTimeMode(IMFMediaEngineEx *iface, BOOL
6262

6363
static HRESULT WINAPI media_engine_SetCurrentTimeEx(IMFMediaEngineEx *iface, double seektime, MF_MEDIA_ENGINE_SEEK_MODE mode)
6464
{

0 commit comments

Comments
 (0)