# HG changeset patch # User rtogni # Date 1191182577 0 # Node ID ed5edb202ec25d8b0697ca058d80c1fee13bb015 # Parent a5ff078d7471a1c877b74ea410e596c49b244cc8 Disable direct rendering for ROQ video, the buffer management used by the codec is not compatible with MPlayer idea of reget_buffer diff -r a5ff078d7471 -r ed5edb202ec2 libmpcodecs/vd_ffmpeg.c --- a/libmpcodecs/vd_ffmpeg.c Sun Sep 30 12:07:00 2007 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Sun Sep 30 20:02:57 2007 +0000 @@ -249,7 +249,7 @@ if(vd_use_slices && (lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) && !do_vis_debug) 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->b_age= ctx->ip_age[0]= ctx->ip_age[1]= 256*256*256*64; ctx->ip_count= ctx->b_count= 0;