diff options
author | Andreas Huber <andih@google.com> | 2012-08-31 13:40:12 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2012-08-31 13:40:12 -0700 |
commit | 330accb419ebfb1d8b9d7dcc3b616f56f737f29a (patch) | |
tree | 0ab51d659fd82dee0af222f934eb41f1af3a2a41 /include/media | |
parent | b2562f6faf7b1061f617586801597e0b6b4400b5 (diff) | |
download | frameworks_av-330accb419ebfb1d8b9d7dcc3b616f56f737f29a.zip frameworks_av-330accb419ebfb1d8b9d7dcc3b616f56f737f29a.tar.gz frameworks_av-330accb419ebfb1d8b9d7dcc3b616f56f737f29a.tar.bz2 |
Added an additional virtual method IStreamSource::flags().
Change-Id: I89e62d84328e12f08c8f73cbfd53cfb42569de97
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/IStreamSource.h | 6 |
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 { |