Currently only drm extractor from stagefright
provides confidence > 0.8f.
This makes almosts all media files to be parsed a 2nd time
in ffmpeg.
Skip parsing file that is determined by stagefright as ogg
file. The stagefright ogg extractor handles it well enough.
Change-Id: Ic6ab86c8cef38dbbac337f1bf5f4ec2a8bbcd862
// This is a heavyweight sniffer, don't invoke it if Stagefright knows
// what it is doing already.
if (mimeType != NULL && confidence != NULL) {
+ if (*mimeType == "application/ogg") {
+ return false;
+ }
if (*confidence > 0.8f) {
return false;
}