summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-08-31 14:03:25 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-08-31 14:03:25 -0700
commitcd89e8014368af1bbdfa08406d5d2eb0bbbfcca1 (patch)
tree372818c0898b8c0db85e0ebd482359e14ddba066 /include/media
parent892020e46b97adfa012be7a9dd688a2d6d528de4 (diff)
parentda7ff5321539ac07ec76d0d03bd1b9b09a1823bf (diff)
downloadframeworks_av-cd89e8014368af1bbdfa08406d5d2eb0bbbfcca1.zip
frameworks_av-cd89e8014368af1bbdfa08406d5d2eb0bbbfcca1.tar.gz
frameworks_av-cd89e8014368af1bbdfa08406d5d2eb0bbbfcca1.tar.bz2
Merge "Added an additional virtual method IStreamSource::flags()." into jb-mr1-dev
Diffstat (limited to 'include/media')
-rw-r--r--include/media/IStreamSource.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/IStreamSource.h b/include/media/IStreamSource.h
index 19646b0..61b9d5a 100644
--- a/include/media/IStreamSource.h
+++ b/include/media/IStreamSource.h
@@ -33,6 +33,12 @@ struct IStreamSource : public IInterface {
virtual void setBuffers(const Vector<sp<IMemory> > &buffers) = 0;
virtual void onBufferAvailable(size_t index) = 0;
+
+ enum {
+ // Video PES packets contain exactly one (aligned) access unit.
+ kFlagAlignedVideoData = 1,
+ };
+ virtual uint32_t flags() const { return 0; }
};
struct IStreamListener : public IInterface {