mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
commit
15c1250d9d
1 changed files with 4 additions and 0 deletions
|
@ -328,6 +328,10 @@ void AVIDump::AddFrame(const u8* data, int width, int height)
|
|||
height, s_scaled_frame->data, s_scaled_frame->linesize);
|
||||
}
|
||||
|
||||
s_scaled_frame->format = s_stream->codec->pix_fmt;
|
||||
s_scaled_frame->width = s_width;
|
||||
s_scaled_frame->height = s_height;
|
||||
|
||||
// Encode and write the image.
|
||||
AVPacket pkt;
|
||||
PreparePacket(&pkt);
|
||||
|
|
Loading…
Add table
Reference in a new issue