mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 14:20:34 +05:00
windows fix for FFMPEG support
This commit is contained in:
parent
a00c2c15ae
commit
e3aa9ec98f
@ -2326,7 +2326,10 @@ namespace netgen
|
|||||||
context->bit_rate = bitrate;
|
context->bit_rate = bitrate;
|
||||||
context->width = nx;
|
context->width = nx;
|
||||||
context->height = ny;
|
context->height = ny;
|
||||||
context->time_base = (AVRational){ 1, 25 };
|
AVRational s;
|
||||||
|
s.num = 1;
|
||||||
|
s.den = 25;
|
||||||
|
context->time_base = (AVRational){ 1, 25 };
|
||||||
context->gop_size = gopsize;
|
context->gop_size = gopsize;
|
||||||
context->max_b_frames = bframes;
|
context->max_b_frames = bframes;
|
||||||
context->pix_fmt = PIX_FMT_YUV420P;
|
context->pix_fmt = PIX_FMT_YUV420P;
|
||||||
|
Loading…
Reference in New Issue
Block a user