diff options
author | ztenghui <ztenghui@google.com> | 2013-02-22 14:32:59 -0800 |
---|---|---|
committer | ztenghui <ztenghui@google.com> | 2013-03-08 14:48:05 -0800 |
commit | 3db62dfc5102247d415df4667bd9609e669fc022 (patch) | |
tree | 70ae686be3e35fb0a2af316d4d4fce733f06249c /cmds | |
parent | bf04b5860182d8f4130dcb5d6d88ee68a58c99cd (diff) | |
download | frameworks_av-3db62dfc5102247d415df4667bd9609e669fc022.zip frameworks_av-3db62dfc5102247d415df4667bd9609e669fc022.tar.gz frameworks_av-3db62dfc5102247d415df4667bd9609e669fc022.tar.bz2 |
Clean up the native code to match Java update
1. Add flags to match the java side change.
2. Update the interface.
bug:7991013
Change-Id: I8ffe84c466b2a68e2e1e48b35b78db9e44640265
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/stagefright/muxer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/stagefright/muxer.cpp b/cmds/stagefright/muxer.cpp index 1b127c7..fac2acc 100644 --- a/cmds/stagefright/muxer.cpp +++ b/cmds/stagefright/muxer.cpp @@ -69,7 +69,8 @@ static int muxing( ALOGV("input file %s, output file %s", path, outputFileName); ALOGV("useAudio %d, useVideo %d", useAudio, useVideo); - sp<MediaMuxer> muxer = new MediaMuxer(outputFileName); + sp<MediaMuxer> muxer = new MediaMuxer(outputFileName, + MediaMuxer::OUTPUT_FORMAT_MPEG_4); size_t trackCount = extractor->countTracks(); // Map the extractor's track index to the muxer's track index. |