[PATCH 4/4] qcap: Call the right method to clean up the video capture stream.
Zebediah Figura
z.figura12 at gmail.com
Tue Nov 24 00:18:04 CST 2020
Fixes: 84e55192fa2d6610acac2edfef3421cba0705331
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/qcap/vfwcapture.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/qcap/vfwcapture.c b/dlls/qcap/vfwcapture.c
index a313e785f67..a79cce50380 100644
--- a/dlls/qcap/vfwcapture.c
+++ b/dlls/qcap/vfwcapture.c
@@ -85,7 +85,7 @@ static void vfw_capture_destroy(struct strmbase_filter *iface)
if (filter->init)
{
if (filter->filter.state != State_Stopped)
- filter->device->ops->stop_stream(filter->device);
+ filter->device->ops->cleanup_stream(filter->device);
filter->device->ops->destroy(filter->device);
}
--
2.29.2
More information about the wine-devel
mailing list