projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b0a457
)
Clarify the error message when video width, height, or framerate are not
author
Michel Bardiaux
<mbardiaux@peaktime.be>
Thu, 17 Jan 2008 16:27:26 +0000
(16:27 +0000)
committer
Luca Abeni
<lucabe72@email.it>
Thu, 17 Jan 2008 16:27:26 +0000
(16:27 +0000)
specified.
Patch by Michel Bardiaux (mbardiaux AT mediaxim DOT be)
Originally committed as revision 11551 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavdevice/v4l2.c
patch
|
blob
|
history
diff --git
a/libavdevice/v4l2.c
b/libavdevice/v4l2.c
index
d385d57
..
528acc4
100644
(file)
--- 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;
}