Skip to content
Snippets Groups Projects
Commit df87cfd7 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

ffmpeg: fix do_streamcopy() so it copies side data too

parent 05493c6e
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment