OSDN Git Service
(root)
/
android-x86
/
external-stagefright-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e9d63d
)
stagefright-plugins: Add special case for DivX containers
author
Steve Kondik
<steve@cyngn.com>
Sun, 27 Dec 2015 00:48:03 +0000
(16:48 -0800)
committer
Steve Kondik
<steve@cyngn.com>
Sun, 27 Dec 2015 00:48:03 +0000
(16:48 -0800)
* MPEG4Extractor cannot handle this and we need to do it. Boost
confidence level accordingly.
Change-Id: I8ade1c576c0cc81bded1b00c4a0df33ef998a897
extractor/FFmpegExtractor.cpp
patch
|
blob
|
history
diff --git
a/extractor/FFmpegExtractor.cpp
b/extractor/FFmpegExtractor.cpp
index
38b0a33
..
5339e82
100644
(file)
--- a/
extractor/FFmpegExtractor.cpp
+++ b/
extractor/FFmpegExtractor.cpp
@@
-1800,6
+1800,8
@@
static void adjustConfidenceIfNeeded(const char *mime,
adjustMPEG2TSConfidence(ic, confidence);
} else if (!strcasecmp(mime, MEDIA_MIMETYPE_CONTAINER_MATROSKA)) {
adjustMKVConfidence(ic, confidence);
+ } else if (!strcasecmp(mime, MEDIA_MIMETYPE_CONTAINER_DIVX)) {
+ *confidence = 0.4f;
} else {
//todo here
}