summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-09-03 16:09:33 -0700
committerAndreas Huber <andih@google.com>2009-09-03 16:09:33 -0700
commit54ee7849ab80e050d0a6add01bdbf4298890b59d (patch)
treee1e4907b56365206543b9d3cbdb7de709d09075d /cmds
parente131b7466c8b817896a618efe4b34eed5d3e51f9 (diff)
downloadframeworks_base-54ee7849ab80e050d0a6add01bdbf4298890b59d.zip
frameworks_base-54ee7849ab80e050d0a6add01bdbf4298890b59d.tar.gz
frameworks_base-54ee7849ab80e050d0a6add01bdbf4298890b59d.tar.bz2
Add another testcase for moto to reproduce bug #2099685 to the stagefright commandline app.
Diffstat (limited to 'cmds')
-rw-r--r--cmds/stagefright/stagefright.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp
index 54c6a0c..a0b83fb 100644
--- a/cmds/stagefright/stagefright.cpp
+++ b/cmds/stagefright/stagefright.cpp
@@ -97,6 +97,9 @@ static void playSource(OMXClient *client, const sp<MediaSource> &source) {
if (gReproduceBug == 1 && numFrames == 40) {
printf("seeking past the end now.");
options.setSeekTo(0x7fffffffL);
+ } else if (gReproduceBug == 2 && numFrames == 40) {
+ printf("seeking to 5 secs.");
+ options.setSeekTo(5000000);
}
}