diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-08-29 10:58:19 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-08-29 10:58:19 -0700 |
commit | ac4187569c7011c2dcfb9ed1ad658b7ad8cba046 (patch) | |
tree | b981c8a291ca7ba29fc32d12a0af5933b73a9b95 /cmds | |
parent | eb941f9a0c8474324732a99387cc6d8cb4ab01ef (diff) | |
parent | 3f9e843d924f220f6094241bc765cd69d8fc6d7b (diff) | |
download | frameworks_av-ac4187569c7011c2dcfb9ed1ad658b7ad8cba046.zip frameworks_av-ac4187569c7011c2dcfb9ed1ad658b7ad8cba046.tar.gz frameworks_av-ac4187569c7011c2dcfb9ed1ad658b7ad8cba046.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')
-rw-r--r-- | cmds/stagefright/recordvideo.cpp | 1 |
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(); |