diff options
author | Andreas Huber <andih@google.com> | 2010-06-21 09:11:51 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-06-21 13:53:36 -0700 |
commit | 8a08d9d62eeca9b0e8d75daef02706be798a97b5 (patch) | |
tree | 3e805fca9d45ffd483f634a8ca908e934530db23 | |
parent | c7fa90a661dd9f6107af6a1d9e6dcaa1cb9a34e3 (diff) | |
download | frameworks_av-8a08d9d62eeca9b0e8d75daef02706be798a97b5.zip frameworks_av-8a08d9d62eeca9b0e8d75daef02706be798a97b5.tar.gz frameworks_av-8a08d9d62eeca9b0e8d75daef02706be798a97b5.tar.bz2 |
Make sure sine: is supported again in stagefright commandline tool.
Change-Id: I703f1a8b7556543ef71b141dc8e38d8b82d8c6dc
-rw-r--r-- | cmds/stagefright/stagefright.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp index e2ad9e6..877b908 100644 --- a/cmds/stagefright/stagefright.cpp +++ b/cmds/stagefright/stagefright.cpp @@ -483,7 +483,7 @@ int main(int argc, char **argv) { sp<DataSource> dataSource = DataSource::CreateFromURI(filename); - if (dataSource == NULL) { + if (strncasecmp(filename, "sine:", 5) && dataSource == NULL) { fprintf(stderr, "Unable to create data source.\n"); return 1; } |