summaryrefslogtreecommitdiff
path: root/v4l2-apps/libv4l/libv4l2
diff options
context:
space:
mode:
authorhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-03-11 13:16:01 +0100
committerhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-03-11 13:16:01 +0100
commitd02d1e3c9f20e691d7d3ff62275d57bfc4766e19 (patch)
tree7a64e3e894c9d789abf630c0728050d6dec0ef55 /v4l2-apps/libv4l/libv4l2
parentf7cf759077f7b829a1cb451fcef9868b693ec3fe (diff)
downloadmediapointer-dvb-s2-d02d1e3c9f20e691d7d3ff62275d57bfc4766e19.tar.gz
mediapointer-dvb-s2-d02d1e3c9f20e691d7d3ff62275d57bfc4766e19.tar.bz2
libv4l: add UYVY support
From: Julien BLACHE <jb@jblache.org> Attached is a patch to add UYVY support to libv4lconvert. It's obviously a shameless respin of the YVYU conversion routines :P Tested on a USB Apple iSight, which only supports UYVY. Priority: normal Signed-off-by: Julien BLACHE <jb@jblache.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'v4l2-apps/libv4l/libv4l2')
-rw-r--r--v4l2-apps/libv4l/libv4l2/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/v4l2-apps/libv4l/libv4l2/log.c b/v4l2-apps/libv4l/libv4l2/log.c
index c086ef736..c29086ff4 100644
--- a/v4l2-apps/libv4l/libv4l2/log.c
+++ b/v4l2-apps/libv4l/libv4l2/log.c
@@ -121,7 +121,7 @@ void v4l2_log_ioctl(unsigned long int request, void *arg, int result)
{
struct v4l2_fmtdesc *fmt = arg;
fprintf(v4l2_log_file, " index: %u, description: %s\n",
- fmt->index, (result < 0) ? "" : fmt->description);
+ fmt->index, (result < 0) ? "" : (const char *)fmt->description);
}
break;
case VIDIOC_G_FMT: