diff options
author | Andreas Huber <andih@google.com> | 2011-07-18 13:47:55 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2011-07-22 08:17:41 -0700 |
commit | 178e8eb5ddb06dca2f225df6f8df662ad0d15d26 (patch) | |
tree | 281290488e0242f85d9e9c441bb69564724a3912 /include | |
parent | 3263f02b3e4b9c37bf8ec4e00b3cec32ede42ad8 (diff) | |
download | frameworks_base-178e8eb5ddb06dca2f225df6f8df662ad0d15d26.zip frameworks_base-178e8eb5ddb06dca2f225df6f8df662ad0d15d26.tar.gz frameworks_base-178e8eb5ddb06dca2f225df6f8df662ad0d15d26.tar.bz2 |
Retry datasource fetches a few times before giving up (NuCachedSource2).
Change-Id: I147fc18ef55bc89d2e2fee69b7869c45abbfdd6b
related-to-bug: 3405354
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/DataSource.h | 5 |
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); |