[FFmpeg-cvslog] ffserver: clarify feedback in case of wrong AVOptionAudio/Video error

Stefano Sabatini git at videolan.org
Thu Nov 28 10:23:44 CET 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Wed Nov 27 13:56:33 2013 +0100| [f7fbb7ac9906ed895f53844e228f1d72fbac912b] | committer: Stefano Sabatini

ffserver: clarify feedback in case of wrong AVOptionAudio/Video error

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f7fbb7ac9906ed895f53844e228f1d72fbac912b
---

 ffserver.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffserver.c b/ffserver.c
index d9add4a..bbf408b 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -4462,7 +4462,7 @@ static int parse_ffconfig(const char *filename)
                 type = AV_OPT_FLAG_AUDIO_PARAM;
             }
             if (ffserver_opt_default(arg, arg2, avctx, type|AV_OPT_FLAG_ENCODING_PARAM)) {
-                ERROR("AVOption error: %s %s\n", arg, arg2);
+                ERROR("Error setting %s option to %s %s\n", cmd, arg, arg2);
             }
         } else if (!av_strcasecmp(cmd, "AVPresetVideo") ||
                    !av_strcasecmp(cmd, "AVPresetAudio")) {



More information about the ffmpeg-cvslog mailing list