OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da7cbd8
)
fix build: media: add back legacy name for VideoGrallocMetadata
author
Lajos Molnar
<lajos@google.com>
Tue, 2 Jun 2015 04:13:47 +0000
(21:13 -0700)
committer
Lajos Molnar
<lajos@google.com>
Tue, 2 Jun 2015 04:21:09 +0000
(21:21 -0700)
Change-Id: Ie101eb355887072b2ab92f489b86115a40952bd1
include/media/hardware/HardwareAPI.h
patch
|
blob
|
history
diff --git
a/include/media/hardware/HardwareAPI.h
b/include/media/hardware/HardwareAPI.h
index
e369c0e
..
a682ab7
100644
(file)
--- 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;