mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-12 18:31:37 +00:00
AVOptions: make av_set_options_string() forward options to child objects
This commit is contained in:
parent
85a46ad685
commit
cf53704c55
@ -573,7 +573,7 @@ static int parse_key_value_pair(void *ctx, const char **buf,
|
||||
|
||||
av_log(ctx, AV_LOG_DEBUG, "Setting value '%s' for key '%s'\n", val, key);
|
||||
|
||||
ret = av_opt_set(ctx, key, val, 0);
|
||||
ret = av_opt_set(ctx, key, val, AV_OPT_SEARCH_CHILDREN);
|
||||
if (ret == AVERROR_OPTION_NOT_FOUND)
|
||||
av_log(ctx, AV_LOG_ERROR, "Key '%s' not found.\n", key);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user