OSDN Git Service

MediaCodec: Add a method for getting the component name
authorMartin Storsjo <martin@martin.st>
Tue, 25 Sep 2012 08:43:02 +0000 (11:43 +0300)
committerMartin Storsjo <martin@martin.st>
Mon, 19 Nov 2012 17:07:37 +0000 (19:07 +0200)
commit717fd3d4328abf524978ce9c125ab8ae8d6bffad
treec00d5f5f760b25ff784984d551c9f54a1fa0ca1e
parent33cf49b168a88a88167c46b01787a57b49cd875f
MediaCodec: Add a method for getting the component name

If the codec was chosen based on mime type, the caller does
not know what component actually was chosen. This allows
getting essential information (such as supported color formats,
for a video encoder) for this component.

Change-Id: Ie471f40f8104b37d27ced3dba5a54facc6504b1b
include/media/stagefright/MediaCodec.h
media/libstagefright/MediaCodec.cpp