diff options
| author | Andreas Huber <andih@google.com> | 2009-09-02 16:05:36 -0700 |
|---|---|---|
| committer | Andreas Huber <andih@google.com> | 2009-09-02 16:05:36 -0700 |
| commit | 4c48342572503c7a92e5634ef8db3f1f9e541256 (patch) | |
| tree | 0dd70aca7878fd9bf07e62031d6b9ff483c0d849 /cmds | |
| parent | da050cf206afff082f2a3693a8103a5df67df397 (diff) | |
| download | frameworks_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 'cmds')
| -rw-r--r-- | cmds/stagefright/record.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/cmds/stagefright/record.cpp b/cmds/stagefright/record.cpp index c049594..81a1c0a 100644 --- a/cmds/stagefright/record.cpp +++ b/cmds/stagefright/record.cpp @@ -50,11 +50,6 @@ public: return meta; } - virtual status_t getMaxSampleSize(size_t *max_size) { - *max_size = mSize; - return OK; - } - virtual status_t start(MetaData *params) { return OK; } @@ -209,7 +204,7 @@ int main(int argc, char **argv) { return 0; } -#endif +#else int main(int argc, char **argv) { android::ProcessState::self()->startThreadPool(); @@ -265,4 +260,4 @@ int main(int argc, char **argv) { return 0; } - +#endif |
