Index: content/common/gpu/media/android_copying_backing_strategy.cc |
diff --git a/content/common/gpu/media/android_copying_backing_strategy.cc b/content/common/gpu/media/android_copying_backing_strategy.cc |
index 0c01f74e2171a631ccd76a1ede26ab3d07275fb6..094b9446a42ff080d01827f32220199275051e5f 100644 |
--- a/content/common/gpu/media/android_copying_backing_strategy.cc |
+++ b/content/common/gpu/media/android_copying_backing_strategy.cc |
@@ -112,9 +112,6 @@ void AndroidCopyingBackingStrategy::UseCodecBufferForPictureBuffer( |
float transform_matrix[16]; |
surface_texture_->GetTransformMatrix(transform_matrix); |
- // add y-flip to correct UV coordinate systems. |
- transform_matrix[13] += transform_matrix[5]; |
- transform_matrix[5] = -transform_matrix[5]; |
uint32_t picture_buffer_texture_id = picture_buffer.texture_id(); |
@@ -138,7 +135,7 @@ void AndroidCopyingBackingStrategy::UseCodecBufferForPictureBuffer( |
state_provider_->GetGlDecoder().get(), GL_TEXTURE_EXTERNAL_OES, |
surface_texture_id_, GL_TEXTURE_2D, picture_buffer_texture_id, |
state_provider_->GetSize().width(), state_provider_->GetSize().height(), |
- false, false, false, transform_matrix); |
+ true, false, false, transform_matrix); |
} |
void AndroidCopyingBackingStrategy::CodecChanged( |