mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-28 19:22:02 +08:00
Fix pix_fmt_info for yuva420.
This allows correct output pix_fmt auto-selection if the input pix_fmt is yuva420. Fixes ticket #290.
This commit is contained in:
@@ -109,6 +109,7 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
|
|||||||
|
|
||||||
/* YUV formats with alpha plane */
|
/* YUV formats with alpha plane */
|
||||||
[PIX_FMT_YUVA420P] = {
|
[PIX_FMT_YUVA420P] = {
|
||||||
|
.is_alpha = 1,
|
||||||
.color_type = FF_COLOR_YUV,
|
.color_type = FF_COLOR_YUV,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user