Commit e7075780 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

winegstreamer: Release the IAsyncReader on disconnection.

This allows "Zero Escape: Nine Hours, Nine Persons, Nine Doors" to start. Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 5ea1287e
......@@ -1147,9 +1147,9 @@ START_TEST(mediadet)
test_COM_sg_enumpins();
ret = DeleteFileW(test_avi_filename);
todo_wine ok(ret, "Failed to delete file, error %u.\n", GetLastError());
ok(ret, "Failed to delete file, error %u.\n", GetLastError());
ret = DeleteFileW(test_sound_avi_filename);
todo_wine ok(ret, "Failed to delete file, error %u.\n", GetLastError());
ok(ret, "Failed to delete file, error %u.\n", GetLastError());
CoUninitialize();
}
......@@ -1598,6 +1598,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 =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment