mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
v4l2: display stride and width values if stride is too small
https://bugzilla.gnome.org/show_bug.cgi?id=792596
This commit is contained in:
parent
dfb27b44bc
commit
3bbfd15047
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue