-
Glenn Kasten authored
Bug fixes: - removed the line VideoDecoderNbProfLevel[c] = 0;" it could overwrite the MPEG2 entry if only one codec implementation, or worse if there were multiple codec implementations - android_videoCodec_getProfileLevelCombinationNb was returning success and zero count if a decoder has zero profile/level combinations, but OpenMAX AL 1.0.1 spec says it must fail in that case. Minor cleanup: - omx does not need to be global - We only use the first codec implementation for a given decoder ID / MIME type, so simplify the code that iterates through the array of codec implementations - Add some const - Add some comments Also includes #if 0 code to restrict reported video codec profiles, as a placeholder -- disabled for now. Change-Id: I81991f164efaf3606beb5789e1a79cf76ad033a0
df200f6a