diff options
author | Andreas Huber <andih@google.com> | 2010-08-24 14:33:58 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-08-24 14:33:58 -0700 |
commit | cce326fe43411855aca2f719e505b051bc4b61b3 (patch) | |
tree | 644689041a2ef10ed594dfe6559700d17631acdd /media/libstagefright/rtsp/APacketSource.h | |
parent | a1b232493d76bdf5e56fc5aae2a45691d6774369 (diff) | |
download | frameworks_av-cce326fe43411855aca2f719e505b051bc4b61b3.zip frameworks_av-cce326fe43411855aca2f719e505b051bc4b61b3.tar.gz frameworks_av-cce326fe43411855aca2f719e505b051bc4b61b3.tar.bz2 |
A first shot at proper support for seeking of rtsp streams.
Change-Id: I9604f2d09feedc0074c0e715be58e719d4483760
related-to-bug: 2556656
Diffstat (limited to 'media/libstagefright/rtsp/APacketSource.h')
-rw-r--r-- | media/libstagefright/rtsp/APacketSource.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/media/libstagefright/rtsp/APacketSource.h b/media/libstagefright/rtsp/APacketSource.h index 647da6e..197af3e 100644 --- a/media/libstagefright/rtsp/APacketSource.h +++ b/media/libstagefright/rtsp/APacketSource.h @@ -43,7 +43,7 @@ struct APacketSource : public MediaSource { void queueAccessUnit(const sp<ABuffer> &buffer); void signalEOS(status_t result); - int64_t getQueuedDuration(bool *eos); + void flushQueue(); protected: virtual ~APacketSource(); @@ -58,9 +58,6 @@ private: List<sp<ABuffer> > mBuffers; status_t mEOSResult; - bool mFirstAccessUnit; - uint64_t mFirstAccessUnitNTP; - DISALLOW_EVIL_CONSTRUCTORS(APacketSource); }; |