[FFmpeg-cvslog] r11551 - trunk/libavdevice/v4l2.c

lucabe subversion
Thu Jan 17 17:27:26 CET 2008


Author: lucabe
Date: Thu Jan 17 17:27:26 2008
New Revision: 11551

Log:
Clarify the error message when video width, height, or framerate are not
specified.
Patch by Michel Bardiaux (mbardiaux AT mediaxim DOT be)


Modified:
   trunk/libavdevice/v4l2.c

Modified: trunk/libavdevice/v4l2.c
==============================================================================
--- trunk/libavdevice/v4l2.c	(original)
+++ trunk/libavdevice/v4l2.c	Thu Jan 17 17:27:26 2008
@@ -494,7 +494,7 @@ static int v4l2_read_header(AVFormatCont
     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;
     }




More information about the ffmpeg-cvslog mailing list