diff options
author | Lajos Molnar <lajos@google.com> | 2015-06-01 21:13:47 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2015-06-01 21:21:09 -0700 |
commit | a8c2454d52d3c23bd53b4a172eff8e5f4af30168 (patch) | |
tree | d04297fbd5970679b156af562ed776c02f1f2596 /include | |
parent | da7cbd8c7c54c2c93ca7bc49b5218cf99825f9e4 (diff) | |
download | frameworks_native-a8c2454d52d3c23bd53b4a172eff8e5f4af30168.zip frameworks_native-a8c2454d52d3c23bd53b4a172eff8e5f4af30168.tar.gz frameworks_native-a8c2454d52d3c23bd53b4a172eff8e5f4af30168.tar.bz2 |
fix build: media: add back legacy name for VideoGrallocMetadata
Change-Id: Ie101eb355887072b2ab92f489b86115a40952bd1
Diffstat (limited to 'include')
-rw-r--r-- | include/media/hardware/HardwareAPI.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/hardware/HardwareAPI.h b/include/media/hardware/HardwareAPI.h index e369c0e..a682ab7 100644 --- a/include/media/hardware/HardwareAPI.h +++ b/include/media/hardware/HardwareAPI.h @@ -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; |