fix build: media: add back legacy name for VideoGrallocMetadata

Change-Id: Ie101eb355887072b2ab92f489b86115a40952bd1
This commit is contained in:
Lajos Molnar 2015-06-01 21:13:47 -07:00
parent da7cbd8c7c
commit a8c2454d52
1 changed files with 6 additions and 0 deletions

View File

@ -103,6 +103,12 @@ struct VideoGrallocMetadata {
buffer_handle_t hHandle;
};
// Legacy name for VideoGrallocMetadata struct.
struct VideoDecoderOutputMetaData {
MetadataBufferType eType; // must be kMetadataBufferTypeGrallocSource
buffer_handle_t pHandle;
};
struct VideoNativeMetadata {
MetadataBufferType eType; // must be kMetadataBufferTypeANWBuffer
struct ANativeWindowBuffer* pBuffer;