Hi Laurent, On Thu, Feb 25, 2016 at 11:38:02PM +0200, Laurent Pinchart wrote: ... > > +static void list_known_mbus_formats(void) > > +{ > > + unsigned int ncodes; > > + const unsigned int *code = v4l2_subdev_pixelcode_list(&ncodes); > > + > > + while (ncodes--) { > > + const char *str = v4l2_subdev_pixelcode_to_string(*code); > > + int spaces = 30 - (int)strlen(str); > > + > > + if (*code == 0) > > + break; > > + > > + if (spaces < 0) > > + spaces = 0; > > + > > + printf("%s %*c 0x%8.8x\n", str, spaces, ' ', *code); > > + > > + code++; > > + } > > +} I remember I intended to change s/8\.8/4.4/ but I forgot to do that to this version. I'll resubmit. -- Sakari Ailus e-mail: sakari.ailus@xxxxxx XMPP: sailus@xxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html