]> git.sesse.net Git - ffmpeg/commit
libavcodec/qsvenc.c: Set mjpeg height and width alignment
authorJonCookCubic <jon.cook@cubicmotion.com>
Tue, 21 Jan 2020 13:06:43 +0000 (13:06 +0000)
committerZhong Li <zhongli_dev@126.com>
Tue, 18 Feb 2020 02:21:02 +0000 (10:21 +0800)
commit566de255992a0727aa0cbafb08b366e36ea2adc9
tree0c7a1e99d7e0d5e03cb469532e4cb5362950f045
parent601d5744404990db92a0d6e13274a158cb13b157
libavcodec/qsvenc.c: Set mjpeg height and width alignment

Currently width_align and height_align are zero when encoding with mjpeg_qsv,
which causes "Error submitting the frame for encoding". This patch sets the alignments.

There is a little bit more about the problem here http://ffmpeg.org/pipermail/ffmpeg-user/2019-November/046143.html

Signed-off-by: JonCookCubic <jon.cook@cubicmotion.com>
Signed-off-by: Zhong Li <zhongli_dev@126.com>
libavcodec/qsvenc.c