Mercurial > mplayer.hg
changeset 11711:4536e2e6b3d7
disable slices & dr1 if motion vector vissualization is used, still doesnt work though, maybe i should reverse the last mv vis patch ...
author | michael |
---|---|
date | Thu, 01 Jan 2004 15:56:00 +0000 |
parents | d37d4bc38f26 |
children | 5905aae865c7 |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Thu Jan 01 14:43:46 2004 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Thu Jan 01 15:56:00 2004 +0000 @@ -165,10 +165,10 @@ 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;