Browse code

ffmpeg_opt: Fix stream copy flag for attachments

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

Michael Niedermayer authored on 2015/07/19 19:35:10
Showing 1 changed files
... ...
@@ -2092,7 +2092,7 @@ loop_end:
2092 2092
         avio_read(pb, attachment, len);
2093 2093
 
2094 2094
         ost = new_attachment_stream(o, oc, -1);
2095
-        ost->stream_copy               = 0;
2095
+        ost->stream_copy               = 1;
2096 2096
         ost->attachment_filename       = o->attachments[i];
2097 2097
         ost->finished                  = 1;
2098 2098
         ost->st->codec->extradata      = attachment;