mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
v4l2transform: Stop stream before closing the devices.
This commit is contained in:
parent
4f7ee5c130
commit
6d5ffe8da2
1 changed files with 2 additions and 0 deletions
|
@ -183,6 +183,8 @@ gst_v4l2_transform_stop (GstBaseTransform * trans)
|
|||
|
||||
GST_DEBUG_OBJECT (self, "Closing");
|
||||
|
||||
gst_v4l2_object_stop (self->v4l2output);
|
||||
gst_v4l2_object_stop (self->v4l2capture);
|
||||
gst_v4l2_object_close (self->v4l2output);
|
||||
gst_v4l2_object_close (self->v4l2capture);
|
||||
gst_caps_replace (&self->probed_srccaps, NULL);
|
||||
|
|
Loading…
Reference in a new issue