v4l2: add colorspace to debug

This commit is contained in:
Wim Taymans 2011-07-27 12:41:33 +01:00
parent 3e089bd7a9
commit 443e9f7c1d

View file

@ -2224,9 +2224,10 @@ gst_v4l2_object_set_format (GstV4l2Object * v4l2object, GstCaps * caps)
goto get_fmt_failed; goto get_fmt_failed;
GST_DEBUG_OBJECT (v4l2object->element, "Got format to %dx%d, format " GST_DEBUG_OBJECT (v4l2object->element, "Got format to %dx%d, format "
"%" GST_FOURCC_FORMAT " bytesperline %d", format.fmt.pix.width, "%" GST_FOURCC_FORMAT " bytesperline %d, colorspace %d",
format.fmt.pix.height, GST_FOURCC_ARGS (format.fmt.pix.pixelformat), format.fmt.pix.width, format.fmt.pix.height,
format.fmt.pix.bytesperline); GST_FOURCC_ARGS (format.fmt.pix.pixelformat), format.fmt.pix.bytesperline,
format.fmt.pix.colorspace);
if (format.type != v4l2object->type || if (format.type != v4l2object->type ||
format.fmt.pix.width != width || format.fmt.pix.width != width ||