mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
ffserver: clarify feedback in case of wrong AVOptionAudio/Video error
This commit is contained in:
parent
c4a03ac3b8
commit
f7fbb7ac99
@ -4462,7 +4462,7 @@ static int parse_ffconfig(const char *filename)
|
|||||||
type = AV_OPT_FLAG_AUDIO_PARAM;
|
type = AV_OPT_FLAG_AUDIO_PARAM;
|
||||||
}
|
}
|
||||||
if (ffserver_opt_default(arg, arg2, avctx, type|AV_OPT_FLAG_ENCODING_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") ||
|
} else if (!av_strcasecmp(cmd, "AVPresetVideo") ||
|
||||||
!av_strcasecmp(cmd, "AVPresetAudio")) {
|
!av_strcasecmp(cmd, "AVPresetAudio")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user