summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2008-01-18 11:27:28 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-01-18 11:27:28 +0000
commite2d3e82dfd607ee1db51076e16d8ddc3140ae753 (patch)
tree21f421b18faede96d432a08d2897154e07d98685 /libavdevice
parent34093ab58e370af92a65b427a101e04092225837 (diff)
downloadffmpeg-e2d3e82dfd607ee1db51076e16d8ddc3140ae753.tar.gz
More verbose error log message.
Originally committed as revision 11556 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/x11grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c
index 61c14355aa..8ff34bf2b0 100644
--- a/libavdevice/x11grab.c
+++ b/libavdevice/x11grab.c
@@ -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);
}