summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-08-18 03:32:26 -0700
committerJames Dong <jdong@google.com>2010-08-23 10:34:05 -0700
commit3f51fa78ada0e064d23db5961337280c267cc2c0 (patch)
treec85bc097a7db110f9fcb9269a100090e3f60e88c /include
parentb80e610b070c2cec98a228a8aec450dc24a5f90a (diff)
downloadframeworks_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.h1
-rw-r--r--include/media/stagefright/MediaWriter.h4
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;