[MPlayer-dev-eng] [Possible Bug] Damaged image when playing some flv file
陆然
hephooey at gmail.com
Thu Aug 17 15:53:55 CEST 2006
Hi,
I've reported the bug to ffmpeg-devel, because at that time I thought it was a
decoder bug, you can find the description and sample url here:
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/35346/focus=35346
But after fiddling with the code I've found I can work around the bug by
disable drl in vd_ffmpeg.c
Index: vd_ffmpeg.c
===================================================================
--- vd_ffmpeg.c (修订版 19422)
+++ vd_ffmpeg.c (工作拷贝)
@@ -195,8 +195,8 @@
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)
- ctx->do_dr1=1;
+ //if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug &&
lavc_codec->id != CODEC_ID_H264)
+ //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;
Obviously this is not a solution, but now I'm confused, maybe it's a bug in
mplayer instead of ffmpeg?
--
Best Regards,
LR
More information about the MPlayer-dev-eng
mailing list