v4l2: Add a debug message indicating probe operation
authorEzequiel Garcia <ezequiel@collabora.com>
Mon, 10 Sep 2018 16:18:45 +0000 (13:18 -0300)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 14 Sep 2018 00:48:09 +0000 (20:48 -0400)
It's useful to see the v4l2 element running the probe
operation, to confirm it's turned on and working.

sys/v4l2/gstv4l2.c

index ab56994..e6a10e8 100644 (file)
@@ -127,6 +127,8 @@ gst_v4l2_probe_and_register (GstPlugin * plugin)
   struct v4l2_capability vcap;
   guint32 device_caps;
 
+  GST_DEBUG ("Probing devices");
+
   it = gst_v4l2_iterator_new ();
 
   while (gst_v4l2_iterator_next (it)) {