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
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 @@
int64_t start = systemTime();
CHECK_EQ((status_t)OK, writer->start());
while (!writer->reachedEOS()) {
+ usleep(100000);
}
err = writer->stop();
int64_t end = systemTime();