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,7 +2326,10 @@ namespace netgen
context->bit_rate = bitrate;
context->width = nx;
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->max_b_frames = bframes;
context->pix_fmt = PIX_FMT_YUV420P;