diff options
author | Michel Bardiaux <mbardiaux@peaktime.be> | 2008-01-17 16:27:26 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2008-01-17 16:27:26 +0000 |
commit | 48f7e1aeee893b075892d3c9a948d7cb4fcc4a02 (patch) | |
tree | ac3c66e2fa869ab35256c2b347adf98821c90dba /libavdevice/v4l2.c | |
parent | 1b0a4572f4d1735688d3cbaf1d1de7004cdb30a7 (diff) | |
download | ffmpeg-48f7e1aeee893b075892d3c9a948d7cb4fcc4a02.tar.gz |
Clarify the error message when video width, height, or framerate are not
specified.
Patch by Michel Bardiaux (mbardiaux AT mediaxim DOT be)
Originally committed as revision 11551 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/v4l2.c')
-rw-r--r-- | libavdevice/v4l2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index d385d57c7c..528acc4345 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -494,7 +494,7 @@ static int v4l2_read_header(AVFormatContext *s1, AVFormatParameters *ap) uint32_t desired_format, capabilities; if (ap->width <= 0 || ap->height <= 0 || ap->time_base.den <= 0) { - av_log(s1, AV_LOG_ERROR, "Missing/Wrong parameters\n"); + av_log(s1, AV_LOG_ERROR, "Missing/Wrong width, height or framerate\n"); return -1; } |