Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit aa7f5c07 authored by Chong Zhang's avatar Chong Zhang
Browse files

Fix dst rect calculation

dst rect also need to be adjusted when the source
frame has crop. Otherwise the converter will refuse
to copy if src and dst size doesn't match.

This happens when the decoding is done by some
hw decoders where the frame size is large than
actual size and a crop is used.

test: MediaMetadataRetrieverTests;HeifWriterTest;
various heic files with or without tiles.

bug: 141418155
Change-Id: I2190f2a23ffb0785f14e4d5830987e898f2a36cb
parent 3e0b02e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment