From 5bab99baea4fa0ceee31d8bed8a3f22e4726d036 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Tue, 1 Jan 2013 12:51:14 +0100 Subject: ffmpeg: apply flags to attachments too. --- ffmpeg_opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ffmpeg_opt.c') diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index b146d3abb3..c01ef42571 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -1655,7 +1655,7 @@ loop_end: AVDictionaryEntry *e; ost = output_streams[i]; - if ( ost->stream_copy + if ((ost->stream_copy || ost->attachment_filename) && (e = av_dict_get(o->g->codec_opts, "flags", NULL, AV_DICT_IGNORE_SUFFIX)) && (!e->key[5] || check_stream_specifier(oc, ost->st, e->key+6))) if (av_opt_set(ost->st->codec, "flags", e->value, 0) < 0) -- cgit v1.2.3