mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
v4l2: add colorspace to debug
This commit is contained in:
parent
3e089bd7a9
commit
443e9f7c1d
1 changed files with 4 additions and 3 deletions
|
@ -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 ||
|
||||||
|
|
Loading…
Reference in a new issue