From 3f51fa78ada0e064d23db5961337280c267cc2c0 Mon Sep 17 00:00:00 2001 From: James Dong Date: Wed, 18 Aug 2010 03:32:26 -0700 Subject: Runtime dump support for MediaWriter Change-Id: I10b2c474de612ee4cef4b7c9eae2ee1dd8c2e895 --- include/media/stagefright/MPEG4Writer.h | 1 + include/media/stagefright/MediaWriter.h | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'include') 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& 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& args) { + return OK; + } + protected: virtual ~MediaWriter() {} int64_t mMaxFileSizeLimitBytes; -- cgit v1.1