Commit 5bab99ba authored by Nicolas George's avatar Nicolas George

ffmpeg: apply flags to attachments too.

parent 951a03b3
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment