OSDN Git Service
(root)
/
android-x86
/
frameworks-av.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2615623
)
stagefright: allow specifying flac copmression level by 'complexity'
author
Lajos Molnar
<lajos@google.com>
Fri, 15 Aug 2014 02:55:25 +0000
(19:55 -0700)
committer
Lajos Molnar
<lajos@google.com>
Fri, 15 Aug 2014 02:58:44 +0000
(19:58 -0700)
Bug:
11990470
Change-Id: I428961cc654b768773814078f753e2e67243f186
media/libstagefright/ACodec.cpp
patch
|
blob
|
history
diff --git
a/media/libstagefright/ACodec.cpp
b/media/libstagefright/ACodec.cpp
index
b77e1cd
..
b44d5cc
100644
(file)
--- a/
media/libstagefright/ACodec.cpp
+++ b/
media/libstagefright/ACodec.cpp
@@
-1419,8
+1419,10
@@
status_t ACodec::configureCodec(
} else {
if (encoder) {
if (!msg->findInt32(
+ "complexity", &compressionLevel) &&
+ !msg->findInt32(
"flac-compression-level", &compressionLevel)) {
- compressionLevel = 5;// default FLAC compression level
+ compressionLevel = 5;
// default FLAC compression level
} else if (compressionLevel < 0) {
ALOGW("compression level %d outside [0..8] range, "
"using 0",