summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/DataSource.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-07-18 13:47:55 -0700
committerAndreas Huber <andih@google.com>2011-07-22 08:17:41 -0700
commit0683eba6b35c396c21f10e926709f2f8fc05f090 (patch)
tree2cb1f37218e73941c6f7bb575bb972696e362ef4 /include/media/stagefright/DataSource.h
parent59d49c0b3b56b24c5b6d98cdfdcd75c537322f2e (diff)
downloadframeworks_av-0683eba6b35c396c21f10e926709f2f8fc05f090.zip
frameworks_av-0683eba6b35c396c21f10e926709f2f8fc05f090.tar.gz
frameworks_av-0683eba6b35c396c21f10e926709f2f8fc05f090.tar.bz2
Retry datasource fetches a few times before giving up (NuCachedSource2).
Change-Id: I147fc18ef55bc89d2e2fee69b7869c45abbfdd6b related-to-bug: 3405354
Diffstat (limited to 'include/media/stagefright/DataSource.h')
-rw-r--r--include/media/stagefright/DataSource.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/stagefright/DataSource.h b/include/media/stagefright/DataSource.h
index 48d1464..713af92 100644
--- a/include/media/stagefright/DataSource.h
+++ b/include/media/stagefright/DataSource.h
@@ -20,6 +20,7 @@
#include <sys/types.h>
+#include <media/stagefright/MediaErrors.h>
#include <utils/Errors.h>
#include <utils/KeyedVector.h>
#include <utils/List.h>
@@ -61,6 +62,10 @@ public:
return 0;
}
+ virtual status_t reconnectAtOffset(off64_t offset) {
+ return ERROR_UNSUPPORTED;
+ }
+
////////////////////////////////////////////////////////////////////////////
bool sniff(String8 *mimeType, float *confidence, sp<AMessage> *meta);