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.
This commit is contained in:
Zebediah Figura 2023-12-01 17:14:16 -06:00
parent 66c86503bd
commit e9a9a6e87f

View File

@ -1,26 +0,0 @@
From 7649a8e89c0dff9ecba0314234bedb507c6ade87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Bernon?= <rbernon@codeweavers.com>
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