Re: [FFmpeg-devel] [PATCH] libavcodec/bsfs: Fix bsf option setting
On Fri, Aug 26, 2016 at 12:47:12AM +0200, sebechlebsky...@gmail.com wrote: > From: Jan Sebechlebsky> > AV_OPT_SEARCH_CHILDREN flag must be passed to av_opt_set_dict() > to set options for private context. > > Signed-off-by: Jan Sebechlebsky > --- > libavcodec/bsf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Dictatorship: All citizens are under surveillance, all their steps and actions recorded, for the politicians to enforce control. Democracy: All politicians are under surveillance, all their steps and actions recorded, for the citizens to enforce control. signature.asc Description: Digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
[FFmpeg-devel] [PATCH] libavcodec/bsfs: Fix bsf option setting
From: Jan SebechlebskyAV_OPT_SEARCH_CHILDREN flag must be passed to av_opt_set_dict() to set options for private context. Signed-off-by: Jan Sebechlebsky --- libavcodec/bsf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c index 2462e62..dfb127e 100644 --- a/libavcodec/bsf.c +++ b/libavcodec/bsf.c @@ -432,7 +432,7 @@ int av_bsf_list_append2(AVBSFList *lst, const char *bsf_name, AVDictionary ** op return ret; if (options) { -ret = av_opt_set_dict(bsf, options); +ret = av_opt_set_dict2(bsf, options, AV_OPT_SEARCH_CHILDREN); if (ret < 0) goto end; } -- 1.9.1 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel