[PATCH 2/4] winegstreamer: Release the IAsyncReader on disconnection.
Zebediah Figura
z.figura12 at gmail.com
Thu Jul 23 19:29:22 CDT 2020
This allows "Zero Escape: Nine Hours, Nine Persons, Nine Doors" to start.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/winegstreamer/gstdemux.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index a4371384e34..1bb0eef7c79 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -1601,6 +1601,9 @@ static void gstdemux_sink_disconnect(struct strmbase_sink *iface)
mark_wine_thread();
GST_RemoveOutputPins(filter);
+
+ IAsyncReader_Release(filter->reader);
+ filter->reader = NULL;
}
static const struct strmbase_sink_ops sink_ops =
--
2.27.0
More information about the wine-devel
mailing list