OSDN Git Service

Add another testcase for moto to reproduce bug #2099685 to the stagefright commandlin...
authorAndreas Huber <andih@google.com>
Thu, 3 Sep 2009 23:09:33 +0000 (16:09 -0700)
committerAndreas Huber <andih@google.com>
Thu, 3 Sep 2009 23:09:33 +0000 (16:09 -0700)
cmds/stagefright/stagefright.cpp

index 54c6a0c..a0b83fb 100644 (file)
@@ -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);
             }
         }