From e9a9a6e87f883640afad43bb62c2f9cabc835ea1 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Fri, 1 Dec 2023 17:14:16 -0600 Subject: [PATCH] mfplat-streaming-support: Remove patch 0043. This has no real effect. It was probably written because it looks more correct, but it never actually matters: we only get a short read at EOF, and in that case we will break out at the next iteration anyway. --- ...date-offset-according-to-the-size-of.patch | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 patches/mfplat-streaming-support/0043-winegstreamer-Update-offset-according-to-the-size-of.patch diff --git a/patches/mfplat-streaming-support/0043-winegstreamer-Update-offset-according-to-the-size-of.patch b/patches/mfplat-streaming-support/0043-winegstreamer-Update-offset-according-to-the-size-of.patch deleted file mode 100644 index 371bc8e3..00000000 --- a/patches/mfplat-streaming-support/0043-winegstreamer-Update-offset-according-to-the-size-of.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 7649a8e89c0dff9ecba0314234bedb507c6ade87 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] winegstreamer: Update offset according to the size of the - buffer read. - ---- - 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 5df08dc5fd7..6ec8e1bdbd8 100644 ---- a/dlls/winegstreamer/wg_parser.c -+++ b/dlls/winegstreamer/wg_parser.c -@@ -998,7 +998,7 @@ static void *push_data(void *arg) - break; - } - -- parser->next_offset += size; -+ parser->next_offset += gst_buffer_get_size(buffer); - - buffer->duration = buffer->pts = -1; - if ((ret = gst_pad_push(parser->my_src, buffer)) < 0) --- -2.37.2 -