diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-04-05 11:51:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-06 01:09:04 +0200 |
commit | b1eeddf1cc530cfce9a178a8ee7066f9d9910784 (patch) | |
tree | 667100c5aa0281456b1cd4c1486ca7e5d90a5698 /libavcodec | |
parent | da53f05fd0a51cd630b1fdf03dec04e5761c8b32 (diff) | |
download | ffmpeg-b1eeddf1cc530cfce9a178a8ee7066f9d9910784.tar.gz |
Fix Ticket37
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index fb6df40447..676c3ebe8a 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -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 |