summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/mpeg2ts/AnotherPacketSource.h
diff options
context:
space:
mode:
authorRobert Shih <robertshih@google.com>2014-07-29 18:34:36 -0700
committerRobert Shih <robertshih@google.com>2014-08-05 20:46:56 -0700
commit309aa8bf5e4cd66fe988adf2654cac3fadc2a1c3 (patch)
tree7958aa68f244c1f1d0d8b98efe934d1c3d60ce2d /media/libstagefright/mpeg2ts/AnotherPacketSource.h
parent3423bbdb05f843a64356fa24e8657f03ecbb7d65 (diff)
downloadframeworks_av-309aa8bf5e4cd66fe988adf2654cac3fadc2a1c3.zip
frameworks_av-309aa8bf5e4cd66fe988adf2654cac3fadc2a1c3.tar.gz
frameworks_av-309aa8bf5e4cd66fe988adf2654cac3fadc2a1c3.tar.bz2
httplive: timestamp reporting, track selection
Bug: 15153976 Bug: 15763638 Bug: 16351654 Change-Id: I4462276d4b7342647286a0ca4be11692ce52ff6d
Diffstat (limited to 'media/libstagefright/mpeg2ts/AnotherPacketSource.h')
-rw-r--r--media/libstagefright/mpeg2ts/AnotherPacketSource.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/libstagefright/mpeg2ts/AnotherPacketSource.h b/media/libstagefright/mpeg2ts/AnotherPacketSource.h
index f38f9dc..0c717d7 100644
--- a/media/libstagefright/mpeg2ts/AnotherPacketSource.h
+++ b/media/libstagefright/mpeg2ts/AnotherPacketSource.h
@@ -64,7 +64,8 @@ struct AnotherPacketSource : public MediaSource {
bool isFinished(int64_t duration) const;
- sp<AMessage> getLatestMeta();
+ sp<AMessage> getLatestEnqueuedMeta();
+ sp<AMessage> getLatestDequeuedMeta();
protected:
virtual ~AnotherPacketSource();
@@ -80,6 +81,7 @@ private:
List<sp<ABuffer> > mBuffers;
status_t mEOSResult;
sp<AMessage> mLatestEnqueuedMeta;
+ sp<AMessage> mLatestDequeuedMeta;
bool wasFormatChange(int32_t discontinuityType) const;