Index: media/gpu/avda_codec_image.cc |
diff --git a/media/gpu/avda_codec_image.cc b/media/gpu/avda_codec_image.cc |
index 05428fd9a54ffa264b24c53ba692cf439ac7e646..943615192729f5cb38849e3cd7f2354f7765d0bf 100644 |
--- a/media/gpu/avda_codec_image.cc |
+++ b/media/gpu/avda_codec_image.cc |
@@ -231,6 +231,7 @@ void AVDACodecImage::GetTextureMatrix(float matrix[16]) { |
if (surface_texture_) |
UpdateSurface(UpdateMode::RENDER_TO_FRONT_BUFFER); |
memcpy(matrix, gl_matrix_, sizeof(gl_matrix_)); |
+ YInvertMatrix(matrix); |
} |
bool AVDACodecImage::IsCodecBufferOutstanding() const { |