]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
More verbose error log message.
authorbenoit <benoit@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 18 Jan 2008 11:27:28 +0000 (11:27 +0000)
committerbenoit <benoit@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 18 Jan 2008 11:27:28 +0000 (11:27 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11556 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavdevice/x11grab.c

index 61c14355aae6cabb75c807791fc54c571988f8f9..8ff34bf2b03a374853c90a9fab3055985b6633b1 100644 (file)
@@ -113,7 +113,7 @@ x11grab_read_header(AVFormatContext *s1, AVFormatParameters *ap)
     }
 
     if (!ap || ap->width <= 0 || ap->height <= 0 || ap->time_base.den <= 0) {
-        av_log(s1, AV_LOG_ERROR, "AVParameters don't have any video size. Use -s.\n");
+        av_log(s1, AV_LOG_ERROR, "AVParameters don't have video size and/or rate. Use -s and -r.\n");
         return AVERROR(EIO);
     }