Skip to content

Commit 858401e

Browse files
DONOTPICK: patches: wine: add unravel video playback fix
1 parent 394d5f8 commit 858401e

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
From 4cb4b701e26adebeffca7075c8fc838973bbd8ce Mon Sep 17 00:00:00 2001
2+
From: NelloKudo <marshnelloosu@gmail.com>
3+
Date: Wed, 3 Jun 2026 00:48:08 +0200
4+
Subject: [PATCH] winegstreamer: Handle NULL filter in autoplug_query_cb.
5+
6+
---
7+
dlls/winegstreamer/wg_parser.c | 5 +++++
8+
1 file changed, 5 insertions(+)
9+
10+
diff --git a/dlls/winegstreamer/wg_parser.c b/dlls/winegstreamer/wg_parser.c
11+
index 951f8fdde7c..df588d234ce 100644
12+
--- a/dlls/winegstreamer/wg_parser.c
13+
+++ b/dlls/winegstreamer/wg_parser.c
14+
@@ -617,6 +617,11 @@ static gboolean autoplug_query_cb(GstElement *bin, GstPad *child,
15+
{
16+
result = gst_caps_new_empty();
17+
gst_query_parse_caps(query, &filter);
18+
+ if (!filter)
19+
+ {
20+
+ gst_caps_unref(result);
21+
+ return FALSE;
22+
+ }
23+
for (i = 0; i < gst_caps_get_size(filter); i++)
24+
{
25+
if (!(features = gst_caps_get_features(filter, i))
26+
--
27+
2.54.0
28+

0 commit comments

Comments
 (0)