mirror of https://github.com/mpv-player/mpv
restored framerate autodetection based on height
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15844 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f2097fdeaf
commit
460f7e9d6e
|
@ -62,7 +62,7 @@ static int config(struct vf_instance_s* vf,
|
|||
lavc_venc_context.height = height;
|
||||
|
||||
#if LIBAVCODEC_BUILD >= 4754
|
||||
if(!lavc_venc_context.time_base.num){
|
||||
if(!lavc_venc_context.time_base.num || !lavc_venc_context.time_base.den){
|
||||
#else
|
||||
if(!lavc_venc_context.frame_rate){
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue