From 795d551b0863dfb9f33cfb37ebc1ffaede146c5a Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Fri, 29 Jan 2010 18:55:47 +0100 Subject: Add snide comment about cheap cameras --- zmq-camera.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zmq-camera.c b/zmq-camera.c index 3be17c6..3c0a5a7 100644 --- a/zmq-camera.c +++ b/zmq-camera.c @@ -106,7 +106,10 @@ void *sender_thread (void *arg) index++; } if (!conversion_found) { - fprintf (stderr, "Could not find a suitable video format\n"); + fprintf (stderr, "Could not find a suitable video format\n\n"); + fprintf (stderr, "This probably means you have a cheap camera.\n"); + fprintf (stderr, "Feel free to either get a better camera, or improve\n"); + fprintf (stderr, "the colorspace conversion code in this example.\n"); exit (1); } src_format.buffer_type = UNICAP_BUFFER_TYPE_USER; -- cgit v1.2.3