From cf53704c55378cc0dcfc16637cdac7d58f0b3107 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 12 Mar 2013 18:23:27 +0100 Subject: AVOptions: make av_set_options_string() forward options to child objects --- libavutil/opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil') diff --git a/libavutil/opt.c b/libavutil/opt.c index f3dcdeebf8..2cc6f6ce34 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -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); -- cgit v1.2.3