summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2018-01-17 11:08:25 +0100
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2018-01-17 13:32:58 -0500
commit3bbfd150476032db39083a7c01df8326d6283890 (patch)
treef6fc18c91d07ba80b4199e02a5c89cbd061820d6
parentdfb27b44bc5557fe89ce9f794abdc9c808b87f43 (diff)
v4l2: display stride and width values if stride is too small
https://bugzilla.gnome.org/show_bug.cgi?id=792596
-rw-r--r--sys/v4l2/gstv4l2object.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
index 8817f6987..995c719b8 100644
--- a/sys/v4l2/gstv4l2object.c
+++ b/sys/v4l2/gstv4l2object.c
@@ -3040,7 +3040,8 @@ gst_v4l2_object_save_format (GstV4l2Object * v4l2object,
if (padded_width < format->fmt.pix.width)
GST_WARNING_OBJECT (v4l2object->dbg_obj,
- "Driver bug detected, stride is too small for the width");
+ "Driver bug detected, stride (%d) is too small for the width (%d)",
+ padded_width, format->fmt.pix.width);
align->padding_right = padded_width - info->width - align->padding_left;