Commit 7b80b3ce authored by Clément Bœsch's avatar Clément Bœsch

lavc/utils: merge side data after video encode.

This allows encoders to communicate side data to the muxers.
parent 3d786591
......@@ -1772,6 +1772,8 @@ int attribute_align_arg avcodec_encode_video2(AVCodecContext *avctx,
if (ret < 0 || !*got_packet_ptr)
av_free_packet(avpkt);
else
av_packet_merge_side_data(avpkt);
emms_c();
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment