Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
22221:09c112581336 | 22222:1a2a37852799 |
---|---|
247 } | 247 } |
248 | 248 |
249 if(vd_use_slices && (lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) && !do_vis_debug) | 249 if(vd_use_slices && (lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) && !do_vis_debug) |
250 ctx->do_slices=1; | 250 ctx->do_slices=1; |
251 | 251 |
252 if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug && lavc_codec->id != CODEC_ID_H264) | 252 if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug && lavc_codec->id != CODEC_ID_H264 && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO) |
253 ctx->do_dr1=1; | 253 ctx->do_dr1=1; |
254 ctx->b_age= ctx->ip_age[0]= ctx->ip_age[1]= 256*256*256*64; | 254 ctx->b_age= ctx->ip_age[0]= ctx->ip_age[1]= 256*256*256*64; |
255 ctx->ip_count= ctx->b_count= 0; | 255 ctx->ip_count= ctx->b_count= 0; |
256 | 256 |
257 ctx->pic = avcodec_alloc_frame(); | 257 ctx->pic = avcodec_alloc_frame(); |