ffmpeg: mark attachment streams finished.
authorNicolas George <nicolas.george@normalesup.org>
Tue, 1 Jan 2013 00:23:19 +0000 (01:23 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 6 Jan 2013 23:52:45 +0000 (00:52 +0100)
Fix trac ticket #2083.
(cherry picked from commit 69a1667b064b11a2df4b4bdc136955f76d17f558)

ffmpeg_opt.c

index 2c5fbfb..d86ef91 100644 (file)
@@ -1636,6 +1636,7 @@ loop_end:
         ost = new_attachment_stream(o, oc, -1);
         ost->stream_copy               = 0;
         ost->attachment_filename       = o->attachments[i];
+        ost->finished                  = 1;
         ost->st->codec->extradata      = attachment;
         ost->st->codec->extradata_size = len;