mirror of
https://github.com/mpv-player/mpv
synced 2024-12-12 09:56:30 +00:00
lavc quality fixed - using right fps
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3694 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7716a06df3
commit
9d3461efab
@ -842,7 +842,7 @@ case VCODEC_LIBAVCODEC:
|
||||
lavc_venc_context.bit_rate = lavc_param_vbitrate;
|
||||
else
|
||||
lavc_venc_context.bit_rate = 800000; /* default */
|
||||
lavc_venc_context.frame_rate = mux_v->h.dwRate * FRAME_RATE_BASE;
|
||||
lavc_venc_context.frame_rate = sh_video->fps * FRAME_RATE_BASE;
|
||||
/* keyframe interval */
|
||||
if (lavc_param_keyint >= 0) /* != -1 */
|
||||
lavc_venc_context.gop_size = lavc_param_keyint;
|
||||
|
Loading…
Reference in New Issue
Block a user