mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
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:
parent
2678394202
commit
64c03e2f89
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user