summaryrefslogtreecommitdiffstats
path: root/sys/v4l2/gstv4l2src.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/v4l2/gstv4l2src.c')
-rw-r--r--sys/v4l2/gstv4l2src.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c
index e53b5b06..67be44e9 100644
--- a/sys/v4l2/gstv4l2src.c
+++ b/sys/v4l2/gstv4l2src.c
@@ -835,6 +835,7 @@ gst_v4l2src_start (GstBaseSrc * src)
{
GstV4l2Src *v4l2src = GST_V4L2SRC (src);
+ /* open the device */
if (!gst_v4l2_object_start (v4l2src->v4l2object))
return FALSE;
@@ -857,6 +858,7 @@ gst_v4l2src_stop (GstBaseSrc * src)
return FALSE;
}
+ /* close the device */
if (!gst_v4l2_object_stop (v4l2src->v4l2object))
return FALSE;