diff options
author | Wenbin Chen <wenbin.chen-at-intel.com@ffmpeg.org> | 2022-03-18 14:25:09 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2022-04-06 17:12:26 +0800 |
commit | 40f38659d777af3e0cf2487df81f4a22884e2806 (patch) | |
tree | 9223431fefecc15bf7773716aab2aeda020f14bd /libavcodec/rv10.c | |
parent | ad21f2649200cf88e45b645162a367d8a6907a1f (diff) | |
download | ffmpeg-40f38659d777af3e0cf2487df81f4a22884e2806.tar.gz |
libavcodec/qsvdec: reinit decoder according to decode() return value
FFmpeg-qsv decoder reinit codec when width and height change, but there
are not only resolution change need to reinit codec. I change it to use
return value from DecodeFrameAsync() to decide whether decoder need to
be reinitialized.
Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
Signed-off-by: Guangxin Xu <guangxin.xu@intel.com>
Diffstat (limited to 'libavcodec/rv10.c')
0 files changed, 0 insertions, 0 deletions