summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright/record.cpp
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
commit7a6b9e2eca7d20457ace3538c689640e5bfda4f3 (patch)
tree4c41291356bdcf67ae8dad8083f81ac4071cc13f /cmds/stagefright/record.cpp
parente5adbeee3401915ff8e1a983396ce3554436b11c (diff)
downloadframeworks_av-7a6b9e2eca7d20457ace3538c689640e5bfda4f3.zip
frameworks_av-7a6b9e2eca7d20457ace3538c689640e5bfda4f3.tar.gz
frameworks_av-7a6b9e2eca7d20457ace3538c689640e5bfda4f3.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/stagefright/record.cpp')
-rw-r--r--cmds/stagefright/record.cpp9
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