[FFmpeg-devel] [PATCH] lavc/qsvdec: reinit if the resolution changes little

Li, Zhong zhong.li at intel.com
Thu Feb 21 11:52:49 EET 2019


> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf
> Of Linjie Fu
> Sent: Wednesday, February 13, 2019 6:00 PM
> To: ffmpeg-devel at ffmpeg.org
> Cc: Fu, Linjie <linjie.fu at intel.com>
> Subject: [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 change.
> 
> Signed-off-by: Linjie Fu <linjie.fu at intel.com>

Is it still needed if https://patchwork.ffmpeg.org/patch/12112/ applied? 


More information about the ffmpeg-devel mailing list