Skip to content
Snippets Groups Projects
Commit dc2f652a authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos
Browse files

Fix pix_fmt_info for yuva420.

This allows correct output pix_fmt auto-selection
if the input pix_fmt is yuva420.

Fixes ticket #290.
parent 72ad228a
No related branches found
No related tags found
No related merge requests found
...@@ -109,6 +109,7 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { ...@@ -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,
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment