diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-27 11:44:56 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-27 11:44:56 +0000 |
commit | df77a6daab45efa063ee92d7199cfa35ae0cdad2 (patch) | |
tree | f852ba8a305e89ddb54338c635c3724808e6bc88 /libavdevice/v4l.c | |
parent | faf67322dc59954b01da29897df0b3f057e526eb (diff) | |
download | ffmpeg-df77a6daab45efa063ee92d7199cfa35ae0cdad2.tar.gz |
Make the VIDIOCMCAPTURE ioctl error message consistent with the other ones.
Originally committed as revision 16361 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/v4l.c')
-rw-r--r-- | libavdevice/v4l.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/v4l.c b/libavdevice/v4l.c index af9f0a4713..39844a913c 100644 --- a/libavdevice/v4l.c +++ b/libavdevice/v4l.c @@ -217,7 +217,7 @@ static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap) 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"); } |