diff options
author | Andreas Huber <andih@google.com> | 2009-09-03 16:09:33 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2009-09-03 16:09:33 -0700 |
commit | e07db23c4935e47ecedfec7537ba95163e5836e5 (patch) | |
tree | b0c91785c6b6f53a81f0ea746016173a78013f82 /cmds/stagefright | |
parent | 365928e6e1bec6637d10652cce65733557c3be29 (diff) | |
download | frameworks_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/stagefright')
-rw-r--r-- | cmds/stagefright/stagefright.cpp | 3 |
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); } } |