From 4c48342572503c7a92e5634ef8db3f1f9e541256 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Wed, 2 Sep 2009 16:05:36 -0700 Subject: 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. --- cmds/stagefright/record.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'cmds') 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 -- cgit v1.1