diff options
author | Andreas Huber <andih@google.com> | 2010-03-12 15:08:52 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-03-12 15:08:52 -0800 |
commit | 93e1fb99a0c66784b49b105ce84a23baf054ee9c (patch) | |
tree | a8e515ed08896dbd16463cb4b7ad85b3162c584c /include/media/MediaMetadataRetrieverInterface.h | |
parent | c116510dd22091369ab15b63fbbc176e1fb39a04 (diff) | |
download | frameworks_av-93e1fb99a0c66784b49b105ce84a23baf054ee9c.zip frameworks_av-93e1fb99a0c66784b49b105ce84a23baf054ee9c.tar.gz frameworks_av-93e1fb99a0c66784b49b105ce84a23baf054ee9c.tar.bz2 |
Fix the media metadata retriever (tests). The native constants must match those published at the java layer.
Change-Id: Ic1efed709e4d93c61913b231a8cd3ef1074f8ca0
Diffstat (limited to 'include/media/MediaMetadataRetrieverInterface.h')
-rw-r--r-- | include/media/MediaMetadataRetrieverInterface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/MediaMetadataRetrieverInterface.h b/include/media/MediaMetadataRetrieverInterface.h index e228357..ff57774 100644 --- a/include/media/MediaMetadataRetrieverInterface.h +++ b/include/media/MediaMetadataRetrieverInterface.h @@ -43,6 +43,10 @@ public: class MediaMetadataRetrieverInterface : public MediaMetadataRetrieverBase { public: + MediaMetadataRetrieverInterface() + : mMode(0) { + } + virtual ~MediaMetadataRetrieverInterface() {} // @param mode The intended mode of operations: @@ -57,6 +61,8 @@ public: mode > METADATA_MODE_FRAME_CAPTURE_AND_METADATA_RETRIEVAL) { return BAD_VALUE; } + + mMode = mode; return NO_ERROR; } |