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:
nicodvb 2005-06-28 19:41:08 +00:00
parent f2097fdeaf
commit 460f7e9d6e
1 changed files with 1 additions and 1 deletions

View File

@ -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