Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
Fix the mode constants in the metadatadriver to properly align with t…
Browse files Browse the repository at this point in the history
…he public constants, this mismatch prevented proper metadata extraction.

Change-Id: I1c1d541be8aebc7d45ec39891c53ba43fa946ece
related-to-bug: 2074137
  • Loading branch information
theandi666 committed Mar 10, 2010
1 parent 3032d2a commit 4c8d8c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android/metadatadriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ public PVErrorEventObserver
};

// 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;
Expand Down

0 comments on commit 4c8d8c5

Please sign in to comment.