[FFmpeg-cvslog] ffmpeg: apply flags to attachments too.

Nicolas George git at videolan.org
Tue Jan 1 20:00:12 CET 2013


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Tue Jan  1 12:51:14 2013 +0100| [5bab99baea4fa0ceee31d8bed8a3f22e4726d036] | committer: Nicolas George

ffmpeg: apply flags to attachments too.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5bab99baea4fa0ceee31d8bed8a3f22e4726d036
---

 ffmpeg_opt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index b146d3a..c01ef42 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)



More information about the ffmpeg-cvslog mailing list