[FFmpeg-cvslog] scale_vulkan: correctly copy the colormatrix
Lynne
git at videolan.org
Mon Apr 6 21:17:14 EEST 2020
ffmpeg | branch: master | Lynne <dev at lynne.ee> | Mon Apr 6 19:15:51 2020 +0100| [ca76a5ba1a35e317d0fb327fffe3ad9add6b7e61] | committer: Lynne
scale_vulkan: correctly copy the colormatrix
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ca76a5ba1a35e317d0fb327fffe3ad9add6b7e61
---
libavfilter/vf_scale_vulkan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c
index c5c64ae96c..4f1e484bc9 100644
--- a/libavfilter/vf_scale_vulkan.c
+++ b/libavfilter/vf_scale_vulkan.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list