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.

related-to-bug: 5725548

Change-Id: I622e39930f8d243111e4731557b0df17c4e2651d
This commit is contained in:
Jeff Tinker
2011-12-07 20:28:03 -08:00
parent 94edc18bde
commit 95d4dc7776
3 changed files with 36 additions and 45 deletions

View File

@@ -31,7 +31,7 @@
namespace android {
WVMLoadableExtractor *GetInstance(sp<DataSource> dataSource);
bool IsWidevineMedia(sp<DataSource> dataSource);
class WVMMediaSource;
class WVMFileSource;