summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-10-29 15:58:10 -0700
committerAndreas Huber <andih@google.com>2009-11-02 15:17:48 -0800
commit3e1bdd386bb11f6fc5732cb53a33663bb780041f (patch)
treee7e4de0e2aa074894274fae210a41d1cfd067efb /cmds/stagefright
parent38f95586a6540756d5de383145b49a8625d49d23 (diff)
downloadframeworks_base-3e1bdd386bb11f6fc5732cb53a33663bb780041f.zip
frameworks_base-3e1bdd386bb11f6fc5732cb53a33663bb780041f.tar.gz
frameworks_base-3e1bdd386bb11f6fc5732cb53a33663bb780041f.tar.bz2
Transcode files again.
Diffstat (limited to 'cmds/stagefright')
-rw-r--r--cmds/stagefright/record.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmds/stagefright/record.cpp b/cmds/stagefright/record.cpp
index 0025c5e..8c25d85 100644
--- a/cmds/stagefright/record.cpp
+++ b/cmds/stagefright/record.cpp
@@ -133,6 +133,8 @@ sp<MediaSource> createSource(const char *filename) {
int main(int argc, char **argv) {
android::ProcessState::self()->startThreadPool();
+ DataSource::RegisterDefaultSniffers();
+
#if 1
if (argc != 2) {
fprintf(stderr, "usage: %s filename\n", argv[0]);
@@ -142,7 +144,7 @@ int main(int argc, char **argv) {
OMXClient client;
CHECK_EQ(client.connect(), OK);
-#if 0
+#if 1
sp<MediaSource> source = createSource(argv[1]);
if (source == NULL) {