OSDN Git Service

DO NOT MERGE: Prefill the cache before trying to instantiate the media extractor.
authorAndreas Huber <andih@google.com>
Wed, 19 Jan 2011 23:07:19 +0000 (15:07 -0800)
committerAndreas Huber <andih@google.com>
Wed, 19 Jan 2011 23:44:23 +0000 (15:44 -0800)
commita2ab9aace3f7c2b283e6244a510a6378ce4650c3
treea5fe6561c7d91049f92a246f89c2adf83c703613
parenta0bafb471385767f7c9c91efe7fd828b069b2e97
DO NOT MERGE: Prefill the cache before trying to instantiate the media extractor.

The latter is an operation that otherwise could block on the datasource
for a significant amount of time. During that time we'd be unable to
abort the preparation phase without this prefill.

Change-Id: I3bc889b264f599bfd5c2bbdf48b88ccb55d86172
related-to-bug: 3362836
media/libstagefright/AwesomePlayer.cpp
media/libstagefright/NuCachedSource2.cpp