1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-04 21:27:58 +00:00

2pass stats curruption fix by ("Johannes E. Schindelin" <Johannes dot Schindelin at gmx dot de>)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10849 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2003-09-11 07:09:25 +00:00
parent bf7c945fca
commit 00a449bea5

View File

@ -499,6 +499,7 @@ static int config(struct vf_instance_s* vf,
return 0;
}
if(!stats_file) {
/* lavc internal 2pass bitrate control */
switch(lavc_param_vpass){
case 1:
@ -529,6 +530,7 @@ static int config(struct vf_instance_s* vf,
}
break;
}
}
lavc_venc_context->me_method = ME_ZERO+lavc_param_vme;