v4l2object: print FOURCC_FORMAT when enumerating

https://bugzilla.gnome.org/show_bug.cgi?id=712206
This commit is contained in:
Marc Leeman 2013-11-13 10:42:21 +00:00 committed by Sebastian Dröge
parent 2e5b462ae3
commit be01e80e6b

View file

@ -1939,7 +1939,9 @@ gst_v4l2_object_probe_caps_for_format (GstV4l2Object * v4l2object,
size.index = 0; size.index = 0;
size.pixel_format = pixelformat; 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) if (v4l2_ioctl (fd, VIDIOC_ENUM_FRAMESIZES, &size) < 0)
goto enum_framesizes_failed; goto enum_framesizes_failed;