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
commite07db23c4935e47ecedfec7537ba95163e5836e5 (patch)
treeb0c91785c6b6f53a81f0ea746016173a78013f82 /cmds
parent365928e6e1bec6637d10652cce65733557c3be29 (diff)
downloadframeworks_av-e07db23c4935e47ecedfec7537ba95163e5836e5.zip
frameworks_av-e07db23c4935e47ecedfec7537ba95163e5836e5.tar.gz
frameworks_av-e07db23c4935e47ecedfec7537ba95163e5836e5.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);
}
}