aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/opt.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-12 18:23:27 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-28 07:55:38 +0100
commitcf53704c55378cc0dcfc16637cdac7d58f0b3107 (patch)
tree4e966c972e5f1a92bb5d65dd66f76e1498ea9ddb /libavutil/opt.c
parent85a46ad685048f0c389f0f997c6e33e5546d0b3b (diff)
downloadffmpeg-cf53704c55378cc0dcfc16637cdac7d58f0b3107.tar.gz
AVOptions: make av_set_options_string() forward options to child objects
Diffstat (limited to 'libavutil/opt.c')
-rw-r--r--libavutil/opt.c2
1 files changed, 1 insertions, 1 deletions
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);