summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright
diff options
context:
space:
mode:
authorztenghui <ztenghui@google.com>2013-04-12 13:50:38 -0700
committerztenghui <ztenghui@google.com>2013-04-15 10:48:33 -0700
commitde05c8eab188e98798f2b9c3dfac53dbc18ef584 (patch)
tree5f1023f6cf5770bc3cdbbda03af68a62ff2eebcf /cmds/stagefright
parent848621d519636e2abdb8575ba0f964efc53da0d5 (diff)
downloadframeworks_av-de05c8eab188e98798f2b9c3dfac53dbc18ef584.zip
frameworks_av-de05c8eab188e98798f2b9c3dfac53dbc18ef584.tar.gz
frameworks_av-de05c8eab188e98798f2b9c3dfac53dbc18ef584.tar.bz2
MediaMuxer prefer not to use the MPEG4Writer in real time recording mode.
By default, MPEG4Write will keep running in real time recording mode. bug:8598944 Change-Id: Idf7fbd4e0feb7763660a74279ba8817b79098aaf
Diffstat (limited to 'cmds/stagefright')
-rw-r--r--cmds/stagefright/stagefright.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/stagefright/stagefright.cpp b/cmds/stagefright/stagefright.cpp
index 5bdbfbb..115b07c 100644
--- a/cmds/stagefright/stagefright.cpp
+++ b/cmds/stagefright/stagefright.cpp
@@ -523,7 +523,7 @@ static void writeSourcesToMP4(
}
sp<MetaData> params = new MetaData;
- params->setInt32(kKeyNotRealTime, true);
+ params->setInt32(kKeyRealTimeRecording, false);
CHECK_EQ(writer->start(params.get()), (status_t)OK);
while (!writer->reachedEOS()) {