Mercurial > libavcodec.hg
diff error_resilience.c @ 9012:15a3df8c01fd libavcodec
More approved hunks for VAAPI & our new and cleaner hwaccel API.
patch by Gwenole Beauchesne gbeauchesne splitted-desktop com
author | michael |
---|---|
date | Mon, 23 Feb 2009 13:44:51 +0000 |
parents | 886ef38c7b36 |
children | 2767eb8c227d |
line wrap: on
line diff
--- a/error_resilience.c Mon Feb 23 13:35:52 2009 +0000 +++ b/error_resilience.c Mon Feb 23 13:44:51 2009 +0000 @@ -680,6 +680,7 @@ Picture *pic= s->current_picture_ptr; if(!s->error_recognition || s->error_count==0 || s->avctx->lowres || + s->avctx->hwaccel || s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU || s->error_count==3*s->mb_width*(s->avctx->skip_top + s->avctx->skip_bottom)) return;