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

Retrieve one frame at a time sequentially

Use getFrameAtIndex sequentially and retrieve one frame at a time,
MediaMetadataRetriever internally will reuse the decoder and frame
memory in this case. This is as efficient and holds up less shared
memory (as we only need one temp frame).

bug: 120414514
Change-Id: I58ddc5df63edaf480875ce2651bf18a037793aad
parent 1cac4fad
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