diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2017-07-14 12:12:56 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2017-07-14 13:31:30 -0400 |
commit | 3bbd43f7eb5f3cda6e9af45a8e82f2d1e058a27e (patch) | |
tree | 422dafe47a8b665244edf76ac771c6a8f06a739b /sys | |
parent | 06424c438e122480dd87504b8d1f5989442fedbe (diff) |
v4l2object: Trace unknown fourcc as text
This makes it easier to find out what is not supported.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/v4l2/gstv4l2object.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index 98e807cb9..14abf7ce9 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -3925,8 +3925,9 @@ gst_v4l2_object_probe_caps (GstV4l2Object * v4l2object, GstCaps * filter) template = gst_v4l2_object_v4l2fourcc_to_bare_struct (format->pixelformat); if (!template) { - GST_DEBUG_OBJECT (v4l2object->element, "unknown format %u", - format->pixelformat); + GST_DEBUG_OBJECT (v4l2object->element, + "unknown format %" GST_FOURCC_FORMAT, + GST_FOURCC_ARGS (format->pixelformat)); continue; } |