diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2013-01-01 12:51:14 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2013-01-01 19:43:21 +0100 |
commit | 5bab99baea4fa0ceee31d8bed8a3f22e4726d036 (patch) | |
tree | fe60c2c738e0cf44e2d2563111df6148773b9356 /ffmpeg_opt.c | |
parent | 951a03b3a8f2d9c87de03cb9d7d22d13beaf2826 (diff) | |
download | ffmpeg-5bab99baea4fa0ceee31d8bed8a3f22e4726d036.tar.gz |
ffmpeg: apply flags to attachments too.
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r-- | ffmpeg_opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |