diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-12 21:23:27 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-28 10:55:38 +0400 |
commit | cf53704c55378cc0dcfc16637cdac7d58f0b3107 (patch) | |
tree | 4e966c972e5f1a92bb5d65dd66f76e1498ea9ddb | |
parent | 85a46ad685048f0c389f0f997c6e33e5546d0b3b (diff) |
AVOptions: make av_set_options_string() forward options to child objects
-rw-r--r-- | libavutil/opt.c | 2 |
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); |