Disable direct rendering for ROQ video, the buffer management used by

the codec is not compatible with MPlayer idea of reget_buffer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24676 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtogni 2007-09-30 20:02:57 +00:00
parent c961e279a0
commit 6d5e4cc2ca
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ static int init(sh_video_t *sh){
if(vd_use_slices && (lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) && !do_vis_debug) if(vd_use_slices && (lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) && !do_vis_debug)
ctx->do_slices=1; ctx->do_slices=1;
if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug && lavc_codec->id != CODEC_ID_H264 && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO) if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug && lavc_codec->id != CODEC_ID_H264 && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO && lavc_codec->id != CODEC_ID_ROQ)
ctx->do_dr1=1; ctx->do_dr1=1;
ctx->b_age= ctx->ip_age[0]= ctx->ip_age[1]= 256*256*256*64; ctx->b_age= ctx->ip_age[0]= ctx->ip_age[1]= 256*256*256*64;
ctx->ip_count= ctx->b_count= 0; ctx->ip_count= ctx->b_count= 0;