Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba46148f authored by Lajos Molnar's avatar Lajos Molnar Committed by Android Git Automerger
Browse files

am a8c2454d: fix build: media: add back legacy name for VideoGrallocMetadata

* commit 'a8c2454d':
  fix build: media: add back legacy name for VideoGrallocMetadata
parents c75fd04d a8c2454d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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;