diff options
author | James Dong <jdong@google.com> | 2010-08-18 03:32:26 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2010-08-23 10:34:05 -0700 |
commit | 3f51fa78ada0e064d23db5961337280c267cc2c0 (patch) | |
tree | c85bc097a7db110f9fcb9269a100090e3f60e88c /include | |
parent | b80e610b070c2cec98a228a8aec450dc24a5f90a (diff) | |
download | frameworks_base-3f51fa78ada0e064d23db5961337280c267cc2c0.zip frameworks_base-3f51fa78ada0e064d23db5961337280c267cc2c0.tar.gz frameworks_base-3f51fa78ada0e064d23db5961337280c267cc2c0.tar.bz2 |
Runtime dump support for MediaWriter
Change-Id: I10b2c474de612ee4cef4b7c9eae2ee1dd8c2e895
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/MPEG4Writer.h | 1 | ||||
-rw-r--r-- | include/media/stagefright/MediaWriter.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/media/stagefright/MPEG4Writer.h b/include/media/stagefright/MPEG4Writer.h index de82b38..2412f6a 100644 --- a/include/media/stagefright/MPEG4Writer.h +++ b/include/media/stagefright/MPEG4Writer.h @@ -40,6 +40,7 @@ public: virtual status_t stop(); virtual status_t pause(); virtual bool reachedEOS(); + virtual status_t dump(int fd, const Vector<String16>& args); void beginBox(const char *fourcc); void writeInt8(int8_t x); diff --git a/include/media/stagefright/MediaWriter.h b/include/media/stagefright/MediaWriter.h index 151bf16..5cc8dcf 100644 --- a/include/media/stagefright/MediaWriter.h +++ b/include/media/stagefright/MediaWriter.h @@ -44,6 +44,10 @@ struct MediaWriter : public RefBase { mListener = listener; } + virtual status_t dump(int fd, const Vector<String16>& args) { + return OK; + } + protected: virtual ~MediaWriter() {} int64_t mMaxFileSizeLimitBytes; |