summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2011-06-01 15:27:20 -0700
committerJames Dong <jdong@google.com>2011-06-02 10:13:52 -0700
commit443287068bec5ca73b76a08e499da6f0de3b670a (patch)
treee02f7e1d2797bdd61e7a6532c222f4b422082f17 /include
parent50e51b81b1cf2778b99682d918ec1288a3a2593e (diff)
downloadframeworks_base-443287068bec5ca73b76a08e499da6f0de3b670a.zip
frameworks_base-443287068bec5ca73b76a08e499da6f0de3b670a.tar.gz
frameworks_base-443287068bec5ca73b76a08e499da6f0de3b670a.tar.bz2
Do not call getEstimatedBandwidth if the streaming is not HTTP-based
Change-Id: I4ab6c57e5b2b989676b8dfbb98402d10a5752261
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/DataSource.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/DataSource.h b/include/media/stagefright/DataSource.h
index 6b6fcdf..48d1464 100644
--- a/include/media/stagefright/DataSource.h
+++ b/include/media/stagefright/DataSource.h
@@ -38,6 +38,7 @@ public:
kWantsPrefetching = 1,
kStreamedFromLocalHost = 2,
kIsCachingDataSource = 4,
+ kIsHTTPBasedSource = 8,
};
static sp<DataSource> CreateFromURI(