diff options
author | Praveen Chavan <pchavan@codeaurora.org> | 2013-09-19 03:48:16 -0700 |
---|---|---|
committer | Praveen Chavan <pchavan@codeaurora.org> | 2013-09-19 04:03:38 -0700 |
commit | 67c20afe1761e127efe276ff063448c61a1e666c (patch) | |
tree | 09615141bff1e2141e29efe82473977b735bdaf9 /libstagefrighthw | |
parent | d4236910858912d203ae10c32e5778de4563c0f2 (diff) | |
download | media-67c20afe1761e127efe276ff063448c61a1e666c.tar.gz |
mm-video: resolve compilation issues with conflicting declarations
Include Metadat-BufferType declaration from right source rather than
defining locally.
Use PROPERTY_VALUE_MAX to specify size of array passed to property_get
Change-Id: I0929a5b8d4c69e0309b3c5b6c4aa172bd7a86574
Diffstat (limited to 'libstagefrighthw')
-rwxr-xr-x | libstagefrighthw/QComOMXMetadata.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libstagefrighthw/QComOMXMetadata.h b/libstagefrighthw/QComOMXMetadata.h index e4cf73cf..3339bbe9 100755 --- a/libstagefrighthw/QComOMXMetadata.h +++ b/libstagefrighthw/QComOMXMetadata.h @@ -15,14 +15,10 @@ * limitations under the License. */ #include <system/window.h> +#include <media/hardware/MetadataBufferType.h> namespace android { - typedef enum { - kMetadataBufferTypeCameraSource = 0, - kMetadataBufferTypeGrallocSource = 1, - } MetadataBufferType; - typedef struct encoder_media_buffer_type { MetadataBufferType buffer_type; buffer_handle_t meta_handle; |