NuPlayer uses format

have nuplayer pass format when getting codec; mediacodecinfo uses that
to screen the candidate codecs.
This helps with situations such as high min-size hardware codecs getting
chosen for small thumbnail-like video clips.... which then won't decode.

Bug: 71392444
Test: adjust HW codec config out of range, see that we failover to the sw codec.
Change-Id: I572d2dd6d8c1cc040543fdba01a88cc66f447a4e
5 files changed