diff libmpcodecs/vd_ffmpeg.c @ 22222:1a2a37852799

mplayer canot handle DR1 with CODEC_ID_INTERPLAY_VIDEO (later needs too many buffers it seems)
author michael
date Sat, 17 Feb 2007 03:02:38 +0000
parents 0cf24df5d97b
children de3ca43ae51e
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Fri Feb 16 23:18:47 2007 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Sat Feb 17 03:02:38 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)
+    if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug && lavc_codec->id != CODEC_ID_H264 && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO)
 	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;