scale_vulkan: correctly copy the colormatrix

This commit is contained in:
Lynne 2020-04-06 19:15:51 +01:00
parent 30b28f9a83
commit ca76a5ba1a
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in)
for (int y = 0; y < 3; y++)
for (int x = 0; x < 3; x++)
par->yuv_matrix[x][y] = tmp_mat[y][x];
par->yuv_matrix[x][y] = tmp_mat[x][y];
par->yuv_matrix[3][3] = 1.0;