From a27ba94091a65b4b9066ce4b5d566e628b77dc03 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Mon, 5 Sep 2022 00:19:41 -0500 Subject: [PATCH] mfplat-streaming-support: Remove patch 0042. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch looks questionable and, per private correspondence with RĂ©mi, was probably a red herring. --- ...block-wg_parser_get_next_read_offset.patch | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 patches/mfplat-streaming-support/0042-winegstreamer-Unblock-wg_parser_get_next_read_offset.patch diff --git a/patches/mfplat-streaming-support/0042-winegstreamer-Unblock-wg_parser_get_next_read_offset.patch b/patches/mfplat-streaming-support/0042-winegstreamer-Unblock-wg_parser_get_next_read_offset.patch deleted file mode 100644 index f3585e25..00000000 --- a/patches/mfplat-streaming-support/0042-winegstreamer-Unblock-wg_parser_get_next_read_offset.patch +++ /dev/null @@ -1,26 +0,0 @@ -From e6f2e0b82e251f650c00c6e270fb615a19a16e19 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?R=C3=A9mi=20Bernon?= -Date: Wed, 15 Dec 2021 11:51:33 +0100 -Subject: [PATCH 42/88] winegstreamer: Unblock wg_parser_get_next_read_offset - on read errors too. - ---- - dlls/winegstreamer/wg_parser.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/dlls/winegstreamer/wg_parser.c b/dlls/winegstreamer/wg_parser.c -index df4dca4a69f..a11fc8c4f68 100644 ---- a/dlls/winegstreamer/wg_parser.c -+++ b/dlls/winegstreamer/wg_parser.c -@@ -631,7 +631,7 @@ static NTSTATUS wg_parser_get_next_read_offset(void *args) - - pthread_mutex_lock(&parser->mutex); - -- while (parser->sink_connected && !parser->read_request.size) -+ while (parser->sink_connected && (!parser->read_request.size || parser->read_request.done)) - pthread_cond_wait(&parser->read_cond, &parser->mutex); - - if (!parser->sink_connected) --- -2.34.1 -