Commit 6d5ffe8d authored by Nicolas Dufresne's avatar Nicolas Dufresne

v4l2transform: Stop stream before closing the devices.

parent 4f7ee5c1
......@@ -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);
......
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