mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Do not attempt to perform error concealment in lowres mode as this is
not supported currently. Originally committed as revision 15465 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
15ae1959d8
commit
8c07cee91a
@ -680,7 +680,7 @@ void ff_er_frame_end(MpegEncContext *s){
|
||||
int size = s->b8_stride * 2 * s->mb_height;
|
||||
Picture *pic= s->current_picture_ptr;
|
||||
|
||||
if(!s->error_recognition || s->error_count==0 ||
|
||||
if(!s->error_recognition || s->error_count==0 || s->avctx->lowres ||
|
||||
s->error_count==3*s->mb_width*(s->avctx->skip_top + s->avctx->skip_bottom)) return;
|
||||
|
||||
if(s->current_picture.motion_val[0] == NULL){
|
||||
|
Loading…
Reference in New Issue
Block a user