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

Skip to content
Commit e0381245 authored by Lajos Molnar's avatar Lajos Molnar
Browse files

MediaCodec: add getInputFormat() method

Additional input-port format item:

int32: "adaptive-playback"
  video decoders only
  whether codec is configured for adaptive playback.  In this case, if
  codec has max-width/height limits, those limits are also exposed
  (int32: "max-width", "max-height")

Also, getInput/OutputFormat() is now callable in CONFIGURED and
STARTING states, although output format may be missing CSD fields
until INFO_OUTPUT_FORMAT_CHANGED message.

Includes missing OMX support for MP3 software decoder.

Bug: 11785204
Change-Id: I90c7e34ba81c7b81c43641599f3f496e838958c6
parent 259f1624
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