[FFmpeg-devel] [PATCH] ffserver: clarify feedback in case of wrong AVOptionAudio/Video error
Stefano Sabatini
stefasab at gmail.com
Wed Nov 27 13:59:36 CET 2013
---
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")) {
--
1.8.1.2
More information about the ffmpeg-devel
mailing list