qcap: Call the right method to clean up the video capture stream.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
417654b1ce
commit
9a317e5cb5
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue