mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
windows fix for FFMPEG support
This commit is contained in:
parent
a00c2c15ae
commit
e3aa9ec98f
@ -2326,6 +2326,9 @@ namespace netgen
|
|||||||
context->bit_rate = bitrate;
|
context->bit_rate = bitrate;
|
||||||
context->width = nx;
|
context->width = nx;
|
||||||
context->height = ny;
|
context->height = ny;
|
||||||
|
AVRational s;
|
||||||
|
s.num = 1;
|
||||||
|
s.den = 25;
|
||||||
context->time_base = (AVRational){ 1, 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user