windows fix for FFMPEG support

This commit is contained in:
Gerhard Kitzler 2014-01-31 09:52:08 +00:00
parent a00c2c15ae
commit e3aa9ec98f

View File

@ -2326,6 +2326,9 @@ namespace netgen
context->bit_rate = bitrate;
context->width = nx;
context->height = ny;
AVRational s;
s.num = 1;
s.den = 25;
context->time_base = (AVRational){ 1, 25 };
context->gop_size = gopsize;
context->max_b_frames = bframes;