[FFmpeg-cvslog] r16361 - trunk/libavdevice/v4l.c

stefano subversion
Sat Dec 27 12:44:56 CET 2008


Author: stefano
Date: Sat Dec 27 12:44:56 2008
New Revision: 16361

Log:
Make the VIDIOCMCAPTURE ioctl error message consistent with the other ones.

Modified:
   trunk/libavdevice/v4l.c

Modified: trunk/libavdevice/v4l.c
==============================================================================
--- trunk/libavdevice/v4l.c	Sat Dec 27 12:40:07 2008	(r16360)
+++ trunk/libavdevice/v4l.c	Sat Dec 27 12:44:56 2008	(r16361)
@@ -217,7 +217,7 @@ static int grab_read_header(AVFormatCont
         if (ioctl(video_fd, VIDIOCMCAPTURE, &s->gb_buf) < 0) {
             if (errno != EAGAIN) {
             fail1:
-                av_log(s1, AV_LOG_ERROR, "Fatal: grab device does not support suitable format\n");
+                av_log(s1, AV_LOG_ERROR, "VIDIOCMCAPTURE: %s\n", strerror(errno));
             } else {
                 av_log(s1, AV_LOG_ERROR, "Fatal: grab device does not receive any video signal\n");
             }




More information about the ffmpeg-cvslog mailing list