git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05493c6
)
ffmpeg: fix do_streamcopy() so it copies side data too
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 19 Nov 2013 23:14:48 +0000
(
00:14
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 19 Nov 2013 23:23:23 +0000
(
00:23
+0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
b2cebb8
..
5eb395f
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-1496,6
+1496,7
@@
static void do_streamcopy(InputStream *ist, OutputStream *ost, const AVPacket *p
opkt.data = pkt->data;
opkt.size = pkt->size;
}
+ av_copy_packet_side_data(&opkt, pkt);
if (ost->st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (of->ctx->oformat->flags & AVFMT_RAWPICTURE)) {
/* store AVPicture in AVPacket, as expected by the output format */