diff options
author | ztenghui <ztenghui@google.com> | 2013-04-12 13:50:38 -0700 |
---|---|---|
committer | ztenghui <ztenghui@google.com> | 2013-04-15 10:48:33 -0700 |
commit | de05c8eab188e98798f2b9c3dfac53dbc18ef584 (patch) | |
tree | 5f1023f6cf5770bc3cdbbda03af68a62ff2eebcf /cmds | |
parent | 848621d519636e2abdb8575ba0f964efc53da0d5 (diff) | |
download | frameworks_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')
-rw-r--r-- | cmds/stagefright/stagefright.cpp | 2 |
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()) { |