-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi, David Fries wrote: | Where should I submit patches? The source forge page or the mailing | list, now I have one in both. Mailing list is better for now. | | Change the output for pixel format from an integer to hex and ASCII. | Much easier to see what is going on. | I've pushed it, thanks. Regards, Erik | Signed-off-by: David Fries <[EMAIL PROTECTED]> | --- | branches/m5602-s5k83a/m5602_v4l2.c | 10 ++++++++-- | 1 files changed, 8 insertions(+), 2 deletions(-) | | diff --git a/branches/m5602-s5k83a/m5602_v4l2.c b/branches/m5602-s5k83a/m5602_v4l2.c | index cd884bf..1348221 100644 | --- a/branches/m5602-s5k83a/m5602_v4l2.c | +++ b/branches/m5602-s5k83a/m5602_v4l2.c | @@ -791,8 +791,14 @@ static int check_format(struct v4l2_format *fmt) | if (fmt->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) | return 0; | | - PDEBUG(DBG_V4L2, "Trying to set pixel format %d, width %d, height %d", | - fmt->fmt.pix.pixelformat, fmt->fmt.pix.width, | + PDEBUG(DBG_V4L2, "Trying to set pixel format 0x%08x [%c%c%c%c], " | + "width %d, height %d", | + fmt->fmt.pix.pixelformat, | + fmt->fmt.pix.pixelformat & 0xff, | + (fmt->fmt.pix.pixelformat>>8) & 0xff, | + (fmt->fmt.pix.pixelformat>>24) & 0xff, | + (fmt->fmt.pix.pixelformat>>16) & 0xff, | + fmt->fmt.pix.width, | fmt->fmt.pix.height); | | if ((fmt->fmt.pix.width > M5602_DEFAULT_FRAME_WIDTH) || -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIebw/N7qBt+4UG0ERAhIPAJ0eyJYSTP6GioQa7YL3yXFNVvm5VwCgmCjJ COcgxPCj9v8e4qYBhhB3MOM= =5Ajc -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ M560x-driver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
