diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-09 13:39:41 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-09 13:44:16 +0400 |
commit | 6c70559f581a6e4c9047958e247e0b876a045bf8 (patch) | |
tree | cdffaad599a14aa70dcc1ee9e6d9aa19de2d7f99 /source/blender | |
parent | 08eac0c3675ff4baff4ad3d0aae4d5ab10a8a133 (diff) |
Fix T40980: Exporting animation in MPEG Matroska using ffv1 and FLAC codecs fails
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/writeffmpeg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/writeffmpeg.c b/source/blender/blenkernel/intern/writeffmpeg.c index 4efc60e6198..00dfae9e72a 100644 --- a/source/blender/blenkernel/intern/writeffmpeg.c +++ b/source/blender/blenkernel/intern/writeffmpeg.c @@ -423,6 +423,11 @@ static AVFrame *generate_video_frame(uint8_t *pixels, ReportList *reports) current_frame->data, current_frame->linesize); delete_picture(rgb_frame); } + + current_frame->format = PIX_FMT_BGR32; + current_frame->width = width; + current_frame->height = height; + return current_frame; } |