Browse Source

ffmpeg: apply flags to attachments too.

tags/n1.1
Nicolas George 13 years ago
parent
commit
5bab99baea
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffmpeg_opt.c

+ 1
- 1
ffmpeg_opt.c View File

@@ -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)


Loading…
Cancel
Save