v4l2object: Trace unknown fourcc as text
This makes it easier to find out what is not supported.
This commit is contained in:
parent
06424c438e
commit
3bbd43f7eb
@ -3925,8 +3925,9 @@ gst_v4l2_object_probe_caps (GstV4l2Object * v4l2object, GstCaps * filter)
|
|||||||
template = gst_v4l2_object_v4l2fourcc_to_bare_struct (format->pixelformat);
|
template = gst_v4l2_object_v4l2fourcc_to_bare_struct (format->pixelformat);
|
||||||
|
|
||||||
if (!template) {
|
if (!template) {
|
||||||
GST_DEBUG_OBJECT (v4l2object->element, "unknown format %u",
|
GST_DEBUG_OBJECT (v4l2object->element,
|
||||||
format->pixelformat);
|
"unknown format %" GST_FOURCC_FORMAT,
|
||||||
|
GST_FOURCC_ARGS (format->pixelformat));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user