Zebediah Figura : qcap: Call the right method to clean up the video capture stream.

Alexandre Julliard julliard at winehq.org
Tue Nov 24 17:01:43 CST 2020


Module: wine
Branch: master
Commit: 9a317e5cb5ff6aa53c1e6765b6c2d98884046d70
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9a317e5cb5ff6aa53c1e6765b6c2d98884046d70

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Tue Nov 24 00:18:04 2020 -0600

qcap: Call the right method to clean up the video capture stream.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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);
     }
 




More information about the wine-cvs mailing list