Fix Ticket37
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Apr 2011 09:51:58 +0000 (11:51 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Apr 2011 23:09:04 +0000 (01:09 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegvideo.c

index fb6df40..676c3eb 100644 (file)
@@ -1158,7 +1158,7 @@ void MPV_frame_end(MpegEncContext *s)
     //just to make sure that all data is rendered.
     if(CONFIG_MPEG_XVMC_DECODER && s->avctx->xvmc_acceleration){
         ff_xvmc_field_end(s);
-   }else if((s->error_count || s->encoding)
+   }else if((s->error_count || s->encoding || !(s->avctx->codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND))
        && !s->avctx->hwaccel
        && !(s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU)
        && s->unrestricted_mv