summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-09-02 16:05:36 -0700
committerAndreas Huber <andih@google.com>2009-09-02 16:05:36 -0700
commit4c48342572503c7a92e5634ef8db3f1f9e541256 (patch)
tree0dd70aca7878fd9bf07e62031d6b9ff483c0d849 /include
parentda050cf206afff082f2a3693a8103a5df67df397 (diff)
downloadframeworks_base-4c48342572503c7a92e5634ef8db3f1f9e541256.zip
frameworks_base-4c48342572503c7a92e5634ef8db3f1f9e541256.tar.gz
frameworks_base-4c48342572503c7a92e5634ef8db3f1f9e541256.tar.bz2
Setting the component role appears to be mandatory now for all mime types.
Also using CODEC_LOGV instead of vanilla LOGV to include the component name the message related to.
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/OMXCodec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h
index 6ddf2fe..ac45481 100644
--- a/include/media/stagefright/OMXCodec.h
+++ b/include/media/stagefright/OMXCodec.h
@@ -135,6 +135,8 @@ private:
void addCodecSpecificData(const void *data, size_t size);
void clearCodecSpecificData();
+ void setComponentRole();
+
void setAMRFormat();
void setAACFormat(int32_t numChannels, int32_t sampleRate);