diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-11-10 11:53:19 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-11-10 11:53:19 -0800 |
commit | 732324915492184dc5f773235af7f9146016c360 (patch) | |
tree | eae0570055bc777c061191773847a30c382d5687 /cmds | |
parent | 5bb42b780a934386f26c1c1f0a8249494ec65f7c (diff) | |
parent | f808c4cf1c3e2c6b18a2e9268bfa3cfc9ca793f8 (diff) | |
download | frameworks_av-732324915492184dc5f773235af7f9146016c360.zip frameworks_av-732324915492184dc5f773235af7f9146016c360.tar.gz frameworks_av-732324915492184dc5f773235af7f9146016c360.tar.bz2 |
Merge change I3e1bdd38 into eclair-mr2
* changes:
Transcode files again.
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/stagefright/record.cpp | 4 |
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) { |