Revert "Fix SurfaceTexture DecomposeTransformMatrix"
This reverts commit fcd03993. Reason for revert: Tests fail on quite a few android builders. See https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=media_unittests&tests=SurfaceTextureTransformTest Original change's description: > Fix SurfaceTexture DecomposeTransformMatrix > > This CL handles adds handling of few more cases: > * Small videos have bad matrix. We get small sizes likely because > decoding errors > * Shrink amount other than 1.0. This is best guess approach as there is > no way knowing what shrink amount was used. > * Empty matrix case (when either of scales is zero). Shouldn't happen > outside of small size case. > > This CL also add fallback to visible_size if coded_size/visible_rect > seem wrong or matrix was broken and adds DumpWithoutCrashing for that > case. > > Bug: 1081695, 1086624, 1076564 > Change-Id: Ife0b70bc85b9249fa2805df1db59733ac8cdbd53 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2216731 > Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org> > Reviewed-by: Jonathan Backer <backer@chromium.org> > Cr-Commit-Position: refs/heads/master@{#772493} TBR=backer@chromium.org,vasilyt@chromium.org Change-Id: I1fe1e970dcd4db63c5ec1a7f7e39452a0ca37202 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1081695, 1086624, 1076564 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2220268Reviewed-by:Haiyang Pan <hypan@google.com> Commit-Queue: Haiyang Pan <hypan@google.com> Cr-Commit-Position: refs/heads/master@{#772731}
Showing
Please register or sign in to comment