From: Guillaume Desmottes Date: Wed, 17 Jan 2018 10:08:25 +0000 (+0100) Subject: v4l2: display stride and width values if stride is too small X-Git-Tag: 1.16.2~725 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3bbfd150476032db39083a7c01df8326d6283890;p=platform%2Fupstream%2Fgst-plugins-good.git v4l2: display stride and width values if stride is too small https://bugzilla.gnome.org/show_bug.cgi?id=792596 --- diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index 8817f69..995c719 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;