at lest this fixes build.. there's no way muxer_lavf is working right yet tho with mencoder's broken timestamps

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15310 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rfelker 2005-05-01 05:11:02 +00:00
parent 2678394202
commit 64c03e2f89
1 changed files with 5 additions and 0 deletions

View File

@ -180,8 +180,13 @@ static void fix_parameters(muxer_stream_t *stream)
ctx->width = stream->bih->biWidth;
ctx->height = stream->bih->biHeight;
ctx->bit_rate = 800000;
#if (LIBAVFORMAT_BUILD >= 4624)
ctx->time_base.den = stream->h.dwRate;
ctx->time_base.num = stream->h.dwScale;
#else
ctx->frame_rate = stream->h.dwRate;
ctx->frame_rate_base = stream->h.dwScale;
#endif
}
}