mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-25 08:56:59 +08:00
Move VDPAU check, make future VDPAU patches smaller.
Originally committed as revision 16508 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -681,6 +681,7 @@ void ff_er_frame_end(MpegEncContext *s){
|
||||
Picture *pic= s->current_picture_ptr;
|
||||
|
||||
if(!s->error_recognition || s->error_count==0 || s->avctx->lowres ||
|
||||
s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU ||
|
||||
s->error_count==3*s->mb_width*(s->avctx->skip_top + s->avctx->skip_bottom)) return;
|
||||
|
||||
if(s->current_picture.motion_val[0] == NULL){
|
||||
|
||||
Reference in New Issue
Block a user