summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-08-29 10:58:19 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-29 10:58:19 -0700
commit2597496f2ddea6d6c6531b7257b2b9c13c74d05b (patch)
tree5b9e9d4990c95ac40f8240c9660a373064543663 /cmds/stagefright
parentf8b8f6f8738b9780067e9e56bac8c1de9449b94c (diff)
parent3f9e843d924f220f6094241bc765cd69d8fc6d7b (diff)
downloadframeworks_av-2597496f2ddea6d6c6531b7257b2b9c13c74d05b.zip
frameworks_av-2597496f2ddea6d6c6531b7257b2b9c13c74d05b.tar.gz
frameworks_av-2597496f2ddea6d6c6531b7257b2b9c13c74d05b.tar.bz2
am 3f9e843d: am 9ce74352: Merge "recordvideo: Sleep while waiting for the encoding to finish"
* commit '3f9e843d924f220f6094241bc765cd69d8fc6d7b': recordvideo: Sleep while waiting for the encoding to finish
Diffstat (limited to 'cmds/stagefright')
-rw-r--r--cmds/stagefright/recordvideo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/stagefright/recordvideo.cpp b/cmds/stagefright/recordvideo.cpp
index 3bd1fe2..29ed775 100644
--- a/cmds/stagefright/recordvideo.cpp
+++ b/cmds/stagefright/recordvideo.cpp
@@ -285,6 +285,7 @@ int main(int argc, char **argv) {
int64_t start = systemTime();
CHECK_EQ((status_t)OK, writer->start());
while (!writer->reachedEOS()) {
+ usleep(100000);
}
err = writer->stop();
int64_t end = systemTime();