mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-24 04:05:46 +08: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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user