From be01e80e6b8347e4d08a7105992cc77c5373ad47 Mon Sep 17 00:00:00 2001 From: Marc Leeman Date: Wed, 13 Nov 2013 10:42:21 +0000 Subject: [PATCH] v4l2object: print FOURCC_FORMAT when enumerating https://bugzilla.gnome.org/show_bug.cgi?id=712206 --- sys/v4l2/gstv4l2object.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index a2803a7566..cfb1a9baef 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -1939,7 +1939,9 @@ gst_v4l2_object_probe_caps_for_format (GstV4l2Object * v4l2object, size.index = 0; size.pixel_format = pixelformat; - GST_DEBUG_OBJECT (v4l2object->element, "Enumerating frame sizes"); + GST_DEBUG_OBJECT (v4l2object->element, + "Enumerating frame sizes for %" GST_FOURCC_FORMAT, + GST_FOURCC_ARGS (pixelformat)); if (v4l2_ioctl (fd, VIDIOC_ENUM_FRAMESIZES, &size) < 0) goto enum_framesizes_failed;