Skip to content

Commit

Permalink
rtsp13
Browse files Browse the repository at this point in the history
  • Loading branch information
SpookySkeletons committed Aug 10, 2024
1 parent deb19d1 commit a7bcd19
Show file tree
Hide file tree
Showing 51 changed files with 978 additions and 546 deletions.
75 changes: 39 additions & 36 deletions patches/protonprep-valve-staging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -314,42 +314,45 @@
patch -Np1 < ../patches/wine-gst/0005-mfmediaengine-tests-Test-IMFMediaEngineEx-SetCurrent.patch
patch -Np1 < ../patches/wine-gst/0006-mfmediaengine-Implement-IMFMediaEngine-IsSeeking.patch
patch -Np1 < ../patches/wine-gst/0007-AVPro-Video-seeking-support.patch
patch -Np1 < ../patches/wine-gst/0008-Memory-leak-fixes.patch
patch -Np1 < ../patches/wine-gst/0009-winegstreamer-Initialize-condition-variable-of-struc.patch
patch -Np1 < ../patches/wine-gst/0010-winegstreamer-Connect-autoplug-continue-and-deep-ele.patch
patch -Np1 < ../patches/wine-gst/0011-winegstreamer-Do-not-create-a-read-thread-for-uridec.patch
patch -Np1 < ../patches/wine-gst/0012-winegstreamer-Ignore-an-assert-in-wg_parser.patch
patch -Np1 < ../patches/wine-gst/0013-winegstreamer-Make-wg_parser-report-the-exact-suppor.patch
patch -Np1 < ../patches/wine-gst/0014-winegstreamer-Add-more-RTSP-based-URI-schemes-to-GSt.patch
patch -Np1 < ../patches/wine-gst/0015-winegstreamer-Mark-wg_parser-container-bin-as-stream.patch
patch -Np1 < ../patches/wine-gst/0016-winegstreamer-Set-a-clock-for-the-wg_parser-pipeline.patch
patch -Np1 < ../patches/wine-gst/0017-winegstreamer-Set-base-time-on-wg_parser-bin-while-c.patch
patch -Np1 < ../patches/wine-gst/0018-winegstreamer-Put-pipeline-into-PLAYING-state-before.patch
patch -Np1 < ../patches/wine-gst/0019-winegstreamer-Don-t-only-accept-segment-events-when-.patch
patch -Np1 < ../patches/wine-gst/0020-winegstreamer-Convert-buffer-presentation-timestamps.patch
patch -Np1 < ../patches/wine-gst/0021-winegstreamer-Reorder-parser-initialization-code-a-b.patch
patch -Np1 < ../patches/wine-gst/0022-winegstreamer-Do-away-with-the-per-stream-condvars-a.patch
patch -Np1 < ../patches/wine-gst/0023-winegstreamer-Use-pthread_cond_broadcast-instead-of-.patch
patch -Np1 < ../patches/wine-gst/0024-winegstreamer-Do-not-fail-caps-negotiation-when-ther.patch
patch -Np1 < ../patches/wine-gst/0025-winegstreamer-Do-not-seek-live-sources.patch
patch -Np1 < ../patches/wine-gst/0026-winegstreamer-Implement-buffering-events.patch
patch -Np1 < ../patches/wine-gst/0027-mf-Send-sample-requests-for-unused-space-of-sample-q.patch
patch -Np1 < ../patches/wine-gst/0028-winegstreamer-Fix-race-between-wg_parser_stream_disa.patch
patch -Np1 < ../patches/wine-gst/0029-winegstreamer-Handle-Gstreamer-pipeline-flushes-grac.patch
patch -Np1 < ../patches/wine-gst/0030-winegstreamer-Do-waits-for-samples-on-stream-specifi.patch
patch -Np1 < ../patches/wine-gst/0031-mf-session-Ensure-that-the-command-callback-does-not.patch
patch -Np1 < ../patches/wine-gst/0032-Revert-winegstreamer-Make-wg_parser-report-the-exact.patch
patch -Np1 < ../patches/wine-gst/0033-winegstreamer-Do-not-force-uridecodebin-to-expose-un.patch
patch -Np1 < ../patches/wine-gst/0034-HACK-winegstreamer-Add-a-resampler-to-wg_parser-for-.patch
patch -Np1 < ../patches/wine-gst/0035-HACK-winegstreamer-Add-a-videoscale-element-to-wg_pa.patch
patch -Np1 < ../patches/wine-gst/0036-HACK-mfmediaengine-Do-not-send-MF_MEDIA_ENGINE_EVENT.patch
patch -Np1 < ../patches/wine-gst/0037-Marker-commit-do-not-put-into-MR.patch
patch -Np1 < ../patches/wine-gst/0038-DEBUG-winegstreamer-GST_LOG-GST_DEBUG.patch
patch -Np1 < ../patches/wine-gst/0039-HACK-kernelbase-yt-dlp.exe-redirection-and-cmdline-m.patch
patch -Np1 < ../patches/wine-gst/0040-mf-Schedule-stored-timers-for-the-original-time-inst.patch
patch -Np1 < ../patches/wine-gst/0041-mf-Start-forwarding-samples-only-at-the-PTS-of-the-f.patch
patch -Np1 < ../patches/wine-gst/0042-ntdll-Use-unixcall-instead-of-syscall-for-QueryPerfo.patch
patch -Np1 < ../patches/wine-gst/0043-HACK-kernelbase-Replace-stderr-of-yt-dlp-process.patch
patch -Np1 < ../patches/wine-gst/0008-winegstreamer-Initialize-condition-variable-of-struc.patch
patch -Np1 < ../patches/wine-gst/0009-winegstreamer-Connect-autoplug-continue-and-deep-ele.patch
patch -Np1 < ../patches/wine-gst/0010-winegstreamer-Do-not-create-a-read-thread-for-uridec.patch
patch -Np1 < ../patches/wine-gst/0011-winegstreamer-Ignore-an-assert-in-wg_parser.patch
patch -Np1 < ../patches/wine-gst/0012-winegstreamer-Add-more-RTSP-based-URI-schemes-to-GSt.patch
patch -Np1 < ../patches/wine-gst/0013-winegstreamer-Mark-wg_parser-container-bin-as-stream.patch
patch -Np1 < ../patches/wine-gst/0014-winegstreamer-Set-a-clock-for-the-wg_parser-pipeline.patch
patch -Np1 < ../patches/wine-gst/0015-winegstreamer-Set-base-time-on-wg_parser-bin-while-c.patch
patch -Np1 < ../patches/wine-gst/0016-winegstreamer-Put-pipeline-into-PLAYING-state-before.patch
patch -Np1 < ../patches/wine-gst/0017-winegstreamer-Handle-a-duration-of-1-correctly.patch
patch -Np1 < ../patches/wine-gst/0018-winegstreamer-Don-t-only-accept-segment-events-when-.patch
patch -Np1 < ../patches/wine-gst/0019-winegstreamer-Convert-buffer-presentation-timestamps.patch
patch -Np1 < ../patches/wine-gst/0020-winegstreamer-Reorder-parser-initialization-code-a-b.patch
patch -Np1 < ../patches/wine-gst/0021-winegstreamer-Do-away-with-the-per-stream-condvars-a.patch
patch -Np1 < ../patches/wine-gst/0022-winegstreamer-Use-pthread_cond_broadcast-instead-of-.patch
patch -Np1 < ../patches/wine-gst/0023-winegstreamer-Do-not-fail-caps-negotiation-when-ther.patch
patch -Np1 < ../patches/wine-gst/0024-winegstreamer-Do-not-seek-live-sources.patch
patch -Np1 < ../patches/wine-gst/0025-winegstreamer-Implement-buffering-events.patch
patch -Np1 < ../patches/wine-gst/0026-mf-Send-sample-requests-for-unused-space-of-sample-q.patch
patch -Np1 < ../patches/wine-gst/0027-winegstreamer-Fix-race-between-wg_parser_stream_disa.patch
patch -Np1 < ../patches/wine-gst/0028-winegstreamer-Handle-Gstreamer-pipeline-flushes-grac.patch
patch -Np1 < ../patches/wine-gst/0029-winegstreamer-Do-waits-for-samples-on-stream-specifi.patch
patch -Np1 < ../patches/wine-gst/0030-mf-session-Ensure-that-the-command-callback-does-not.patch
patch -Np1 < ../patches/wine-gst/0031-mf-session-Prevent-media-session-from-running-comman.patch
patch -Np1 < ../patches/wine-gst/0032-mf-sar-Allow-starting-audio-renderer-again-after-pau.patch
patch -Np1 < ../patches/wine-gst/0033-winegstreamer-Also-flush-token-queue-on-seek.patch
patch -Np1 < ../patches/wine-gst/0034-mf-session-Fix-pausing-a-media-session-when-the-medi.patch
patch -Np1 < ../patches/wine-gst/0035-winegstreamer-Do-not-force-uridecodebin-to-expose-un.patch
patch -Np1 < ../patches/wine-gst/0036-HACK-winegstreamer-Add-a-resampler-to-wg_parser-for-.patch
patch -Np1 < ../patches/wine-gst/0037-HACK-winegstreamer-Add-a-videoscale-element-to-wg_pa.patch
patch -Np1 < ../patches/wine-gst/0038-HACK-mfmediaengine-Do-not-send-MF_MEDIA_ENGINE_EVENT.patch
patch -Np1 < ../patches/wine-gst/0039-HACK-mfmediaengine-Never-report-INFINITY-duration.patch
patch -Np1 < ../patches/wine-gst/0040-Marker-commit-do-not-put-into-MR.patch
patch -Np1 < ../patches/wine-gst/0041-DEBUG-winegstreamer-GST_LOG-GST_DEBUG.patch
patch -Np1 < ../patches/wine-gst/0042-HACK-kernelbase-yt-dlp.exe-redirection-and-cmdline-m.patch
patch -Np1 < ../patches/wine-gst/0043-mf-Schedule-stored-timers-for-the-original-time-inst.patch
patch -Np1 < ../patches/wine-gst/0044-mf-Start-forwarding-samples-only-at-the-PTS-of-the-f.patch
patch -Np1 < ../patches/wine-gst/0045-ntdll-Use-unixcall-instead-of-syscall-for-QueryPerfo.patch
patch -Np1 < ../patches/wine-gst/0046-HACK-kernelbase-Replace-stderr-of-yt-dlp-process.patch

#echo "WINE: -Nvidia Reflex- Support VK_NV_low_latency2"
#patch -Np1 < ../patches/proton/83-nv_low_latency_wine.patch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 5a42c6f7a56ffae4ac2d1367eac2d659b5336ca8 Mon Sep 17 00:00:00 2001
From 4ae3f8ceac4f38fd471db5f740e274420a9f27f5 Mon Sep 17 00:00:00 2001
From: Zhiyi Zhang <[email protected]>
Date: Tue, 1 Aug 2023 10:52:21 +0800
Subject: [PATCH 01/43] mf: Add seeking support for IMFMediaSession::Start().
Subject: [PATCH 01/46] mf: Add seeking support for IMFMediaSession::Start().

---
dlls/mf/session.c | 57 ++++++++++++++++++++++++++++++++++++++++++-----
Expand Down Expand Up @@ -124,5 +124,5 @@ index 4f94d3c30a7..a5caad3c97a 100644
case MESourcePaused:
case MESourceStopped:
--
2.45.2
2.46.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 134b5bbd0f07cdeaa3acd6e1d205ba1fd6cfe5c2 Mon Sep 17 00:00:00 2001
From 2eeb0df8121d611c9dc8bc4552ff1ab6fd69d7c1 Mon Sep 17 00:00:00 2001
From: Zhiyi Zhang <[email protected]>
Date: Tue, 8 Aug 2023 15:24:34 +0800
Subject: [PATCH 02/43] mf/tests: Add a create_media_session_with_source_sink()
Subject: [PATCH 02/46] mf/tests: Add a create_media_session_with_source_sink()
helper.

---
Expand Down Expand Up @@ -139,5 +139,5 @@ index 9382d8cae35..58d8ec73c4f 100644
propvar.vt = VT_EMPTY;
hr = IMFMediaSession_Start(session, &GUID_NULL, &propvar);
--
2.45.2
2.46.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From ca2e4786f3a1e43aa542d79df84a434a6bbe03d6 Mon Sep 17 00:00:00 2001
From 9595a07ba1657ee66afd24c79dc66ee3b98c3c3f Mon Sep 17 00:00:00 2001
From: Zhiyi Zhang <[email protected]>
Date: Mon, 7 Aug 2023 11:52:20 +0800
Subject: [PATCH 03/43] mf/tests: Test IMFMediaSession::Start().
Subject: [PATCH 03/46] mf/tests: Test IMFMediaSession::Start().

---
dlls/mf/tests/mf.c | 704 ++++++++++++++++++++++++++++++++++++++++++++-
Expand Down Expand Up @@ -780,5 +780,5 @@ index 58d8ec73c4f..240cbf194ea 100644
+ test_media_session_Start();
}
--
2.45.2
2.46.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 502f072eec3417eb1ae1fde7c28ac68529d51ba5 Mon Sep 17 00:00:00 2001
From 0f295094bd9483e854e2aa0a8b3c2d8fe90d77fa Mon Sep 17 00:00:00 2001
From: Zhiyi Zhang <[email protected]>
Date: Fri, 28 Jul 2023 18:04:30 +0800
Subject: [PATCH 04/43] mfmediaengine: Implement
Subject: [PATCH 04/46] mfmediaengine: Implement
IMFMediaEngineEx::SetCurrentTime/Ex().

---
Expand Down Expand Up @@ -105,5 +105,5 @@ index 85b4dbb471a..6aa84e1562b 100644

static HRESULT WINAPI media_engine_EnableTimeUpdateTimer(IMFMediaEngineEx *iface, BOOL enable)
--
2.45.2
2.46.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 2dcc6d2934f8ffa9c5abfcc51a57c68933643d02 Mon Sep 17 00:00:00 2001
From be4a4ae8713362505299ef8607a8df7c85ba1fbe Mon Sep 17 00:00:00 2001
From: Zhiyi Zhang <[email protected]>
Date: Mon, 7 Aug 2023 11:53:41 +0800
Subject: [PATCH 05/43] mfmediaengine/tests: Test
Subject: [PATCH 05/46] mfmediaengine/tests: Test
IMFMediaEngineEx::SetCurrentTime/Ex().

---
Expand Down Expand Up @@ -239,5 +239,5 @@ index 63a7e139193..506faec231c 100644
IMFMediaEngineClassFactory_Release(factory);

--
2.45.2
2.46.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 93a92705c0b31f0d80bc75ff40222e1f36911a0a Mon Sep 17 00:00:00 2001
From 5d422162bd10ee73d23730b54162c9b6d4fdd51d Mon Sep 17 00:00:00 2001
From: Torge Matthies <[email protected]>
Date: Fri, 14 Jun 2024 03:09:34 +0200
Subject: [PATCH 06/43] mfmediaengine: Implement IMFMediaEngine::IsSeeking.
Subject: [PATCH 06/46] mfmediaengine: Implement IMFMediaEngine::IsSeeking.

---
dlls/mfmediaengine/main.c | 11 +++++++++--
Expand Down Expand Up @@ -31,5 +31,5 @@ index 6aa84e1562b..fba338a8438 100644

static double WINAPI media_engine_GetCurrentTime(IMFMediaEngineEx *iface)
--
2.45.2
2.46.0

6 changes: 3 additions & 3 deletions patches/wine-gst/0007-AVPro-Video-seeking-support.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 94470715480c6c9ab86777c8d95f4d9d1bbc4b46 Mon Sep 17 00:00:00 2001
From 37b5a99cf5e7e2e635bc3674cf56715bef75cb83 Mon Sep 17 00:00:00 2001
From: Torge Matthies <[email protected]>
Date: Wed, 10 Apr 2024 18:57:59 +0200
Subject: [PATCH 07/43] === AVPro Video seeking support ===
Subject: [PATCH 07/46] === AVPro Video seeking support ===

---
MAINTAINERS | 2 ++
Expand All @@ -18,5 +18,5 @@ index c4afb5da88c..a414cc846c8 100644
+
+seek
--
2.45.2
2.46.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From da53e43b7436b39c7945b67442c5705e672a6e94 Mon Sep 17 00:00:00 2001
From 0fb28de8800bd06d15e0d82f7a042236ea745cca Mon Sep 17 00:00:00 2001
From: Torge Matthies <[email protected]>
Date: Fri, 14 Jun 2024 03:15:57 +0200
Subject: [PATCH 09/43] winegstreamer: Initialize condition variable of struct
Subject: [PATCH 08/46] winegstreamer: Initialize condition variable of struct
media_stream.

---
Expand All @@ -21,5 +21,5 @@ index eb6ab3d21cd..119fde3e04f 100644
TRACE("Created stream object %p.\n", object);

--
2.45.2
2.46.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From fbfbf77dc4e36b616d669915df71b72a0c77e420 Mon Sep 17 00:00:00 2001
From 51218a2862d06d8e1dcf5a5b2cf6972d3fe9aba6 Mon Sep 17 00:00:00 2001
From: Torge Matthies <[email protected]>
Date: Sun, 31 Mar 2024 15:49:33 +0200
Subject: [PATCH 10/43] winegstreamer: Connect autoplug-continue and
Subject: [PATCH 09/46] winegstreamer: Connect autoplug-continue and
deep-element-added callbacks to uridecodebin-based parsers too.

---
Expand All @@ -21,5 +21,5 @@ index 7a6e0de7ca2..166c47720fb 100644
pthread_mutex_lock(&parser->mutex);
parser->no_more_pads = false;
--
2.45.2
2.46.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From ff6e615f58cb792b871b77f1d2ceb0806382a0c3 Mon Sep 17 00:00:00 2001
From 982436d84b0a409cbcfed3d205606475c5ce5b9d Mon Sep 17 00:00:00 2001
From: Torge Matthies <[email protected]>
Date: Mon, 25 Mar 2024 09:19:18 +0100
Subject: [PATCH 11/43] winegstreamer: Do not create a read thread for
Subject: [PATCH 10/46] winegstreamer: Do not create a read thread for
uridecodebin-based media sources.

---
Expand Down Expand Up @@ -39,5 +39,5 @@ index 119fde3e04f..93ddf6c6051 100644
object->state = SOURCE_OPENING;

--
2.45.2
2.46.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 292c1944002bef1426a8089e6b7cac78d34f35cc Mon Sep 17 00:00:00 2001
From c91b169c492c84c9a73c617a5089680df130efc2 Mon Sep 17 00:00:00 2001
From: Torge Matthies <[email protected]>
Date: Tue, 19 Mar 2024 04:06:37 +0100
Subject: [PATCH 12/43] winegstreamer: Ignore an assert in wg_parser.
Subject: [PATCH 11/46] winegstreamer: Ignore an assert in wg_parser.

This gets hit when a wg_parser receives GST_EVENT_FLUSH_START between the wg_parser_stream_get_buffer function return
and the wg_parser_stream_release_buffer call. In this case the NULL buffer can be ignored, it does no harm and there
Expand Down Expand Up @@ -33,5 +33,5 @@ index 166c47720fb..c0eabd5024f 100644
pthread_mutex_unlock(&parser->mutex);
pthread_cond_signal(&stream->event_empty_cond);
--
2.45.2
2.46.0

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 7bac2ac4dcaeb00b594d80ef263e8c5259eefb4e Mon Sep 17 00:00:00 2001
From 86de5e21e31754be6e7e68c3558b26e4f05b22ba Mon Sep 17 00:00:00 2001
From: Torge Matthies <[email protected]>
Date: Wed, 31 Jan 2024 17:42:54 +0100
Subject: [PATCH 14/43] winegstreamer: Add more RTSP-based URI schemes to
Subject: [PATCH 12/46] winegstreamer: Add more RTSP-based URI schemes to
GStreamer scheme handler.

---
Expand Down Expand Up @@ -52,5 +52,5 @@ index c50d3a05747..d0c0265f65a 100644
}
}
--
2.45.2
2.46.0

This file was deleted.

Loading

0 comments on commit a7bcd19

Please sign in to comment.