nit if the resolution
> changes little
>
> > -Original Message-
> > From: Li, Zhong
> > Sent: Thursday, February 21, 2019 17:53
> > To: FFmpeg development discussions and patches > de...@ffmpeg.org>
> > Cc: Fu, Linjie
> > Subject: RE: [FF
> -Original Message-
> From: Li, Zhong
> Sent: Thursday, February 21, 2019 17:53
> To: FFmpeg development discussions and patches de...@ffmpeg.org>
> Cc: Fu, Linjie
> Subject: RE: [FFmpeg-devel] [PATCH] lavc/qsvdec: reinit if the resolution
> changes little
&
Currently, resolution change detection is based on 16 alignment,
small resolution changes (same after FFALIGN 16) in coded width or
coded height will not trigger the reinit and will lead to a decode
failure.
Modify to use last_coded_width and last_coded_height to detect the
small resolution