Use coded_size in the CodecImage::GetSize
After https://crrev.com/c/2196922 we start using real coded size in VideoFrame and SharedImageVideo. CodecImage was still using size from CodecOutputBuffer which is visible size. This leads to validation errors in gles2 decoder because we try to copy larger rect than CodecImage. This CL changes CodecImage::GetSize to return coded size instead of visible_size to be in line with VideoFrame and SharedImageVideo. Bug: 1085359, 1076564 Change-Id: Icd92fb60e95cfbb9fa9ce916097c2b0984b13ebf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2213261Reviewed-by:Frank Liberato <liberato@chromium.org> Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#772434}
Showing
Please register or sign in to comment