mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 23:00:41 +00:00
disable slices & dr1 if motion vector vissualization is used, still doesnt work though, maybe i should reverse the last mv vis patch ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11712 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4055e7e8c9
commit
fa4d91a815
@ -165,10 +165,10 @@ static int init(sh_video_t *sh){
|
||||
return 0;
|
||||
}
|
||||
|
||||
if(vd_use_slices && lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND)
|
||||
if(vd_use_slices && (lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) && !lavc_param_vismv)
|
||||
ctx->do_slices=1;
|
||||
|
||||
if(lavc_codec->capabilities&CODEC_CAP_DR1)
|
||||
if(lavc_codec->capabilities&CODEC_CAP_DR1 && !lavc_param_vismv)
|
||||
ctx->do_dr1=1;
|
||||
ctx->b_age= ctx->ip_age[0]= ctx->ip_age[1]= 256*256*256*64;
|
||||
ctx->ip_count= ctx->b_count= 0;
|
||||
|
Loading…
Reference in New Issue
Block a user