OSDN Git Service

Fix ANRs due to Widevine DRM plugin sniff taking too long.
authorJeff Tinker <jtinker@google.com>
Thu, 8 Dec 2011 04:23:20 +0000 (20:23 -0800)
committerJeff Tinker <jtinker@google.com>
Thu, 8 Dec 2011 04:23:20 +0000 (20:23 -0800)
commitd0d19db1ca1c289b069db33f4665bcb9386064e9
tree5a616b32226523983b62a41e9a5ba9092599a6a9
parent5a7c91769f011bc150c9def9edab9cccb4761c66
Fix ANRs due to Widevine DRM plugin sniff taking too long.

Add a Widevine-specific format sniffer to avoid having to
refetch data from the remote server.

Change-Id: I5fdb21fe7a0d6e74f2a6f06e6fbf8070b068ac60
related-to-bug: 5725548
media/libstagefright/AwesomePlayer.cpp
media/libstagefright/DRMExtractor.cpp
media/libstagefright/DataSource.cpp
media/libstagefright/WVMExtractor.cpp
media/libstagefright/include/WVMExtractor.h