[SCM] libav/experimental: More verbose error log message.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:11:57 UTC 2013


The following commit has been merged in the experimental branch:
commit e2d3e82dfd607ee1db51076e16d8ddc3140ae753
Author: Benoit Fouet <benoit.fouet at free.fr>
Date:   Fri Jan 18 11:27:28 2008 +0000

    More verbose error log message.
    
    Originally committed as revision 11556 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c
index 61c1435..8ff34bf 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);
     }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list