aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-03-10 10:26:54 -0800
committerAndreas Huber <andih@google.com>2010-03-10 10:26:54 -0800
commit4c8d8c50f00467a21bbdaaad37b839b4af4b954e (patch)
tree9fbcf116b7887d64fdf45759bfda8e2da7faa378
parent3032d2a628341089ae65eab2a066bbdf5def2166 (diff)
downloadopencore-4c8d8c50f00467a21bbdaaad37b839b4af4b954e.tar.gz
Fix the mode constants in the metadatadriver to properly align with the public constants, this mismatch prevented proper metadata extraction.
Change-Id: I1c1d541be8aebc7d45ec39891c53ba43fa946ece related-to-bug: 2074137
-rw-r--r--android/metadatadriver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/metadatadriver.h b/android/metadatadriver.h
index e71402412..1b9a5259a 100644
--- a/android/metadatadriver.h
+++ b/android/metadatadriver.h
@@ -122,8 +122,8 @@ private:
};
// We support get metadata, or get frame, or get both, or get neigther.
- static const uint32 GET_METADATA_ONLY = (0x01 << 0);
- static const uint32 GET_FRAME_ONLY = (0x01 << 1);
+ static const uint32 GET_METADATA_ONLY = METADATA_MODE_METADATA_RETRIEVAL_ONLY;
+ static const uint32 GET_FRAME_ONLY = METADATA_MODE_FRAME_CAPTURE_ONLY;
static const uint32 MAX_VIDEO_FRAME_SIZE = 1280 * 720 * 4; // Big enough?
static const uint32 MAX_METADATA_STRING_LENGTH = 128;
static const uint32 MAX_STRING_LENGTH = 512;