summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/mpeg2ts/AnotherPacketSource.h
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2015-03-27 15:53:45 -0700
committerChong Zhang <chz@google.com>2015-04-02 16:31:09 -0700
commitd47dfcb5a2e5901c96fc92662cec7aa30f7f8843 (patch)
treeac077cfad563e38bf91e4b2c95e7e28056bf7439 /media/libstagefright/mpeg2ts/AnotherPacketSource.h
parentac41a6f253a69671f6e018fcc84daf0030615ca9 (diff)
downloadframeworks_av-d47dfcb5a2e5901c96fc92662cec7aa30f7f8843.zip
frameworks_av-d47dfcb5a2e5901c96fc92662cec7aa30f7f8843.tar.gz
frameworks_av-d47dfcb5a2e5901c96fc92662cec7aa30f7f8843.tar.bz2
HLS: misc bug fixes
- fix no target-duration case - fix for audio-only <=> audio/video switching - disable audio-only variants if there is at least one variant with video - fix mpeg2ts PTS wraparound when bandwidth adapting - tweak up/down switch marks bug: 19567254 Change-Id: Ib46144203c56dfc96eccd6ddaa3867e8a4f2c6a9
Diffstat (limited to 'media/libstagefright/mpeg2ts/AnotherPacketSource.h')
-rw-r--r--media/libstagefright/mpeg2ts/AnotherPacketSource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/mpeg2ts/AnotherPacketSource.h b/media/libstagefright/mpeg2ts/AnotherPacketSource.h
index e126006..fa7dd6a 100644
--- a/media/libstagefright/mpeg2ts/AnotherPacketSource.h
+++ b/media/libstagefright/mpeg2ts/AnotherPacketSource.h
@@ -76,8 +76,8 @@ struct AnotherPacketSource : public MediaSource {
sp<AMessage> getLatestDequeuedMeta();
sp<AMessage> getMetaAfterLastDequeued(int64_t delayUs);
- void trimBuffersAfterTimeUs(size_t discontinuitySeq, int64_t timeUs);
- sp<AMessage> trimBuffersBeforeTimeUs(size_t discontinuitySeq, int64_t timeUs);
+ void trimBuffersAfterMeta(const sp<AMessage> &meta);
+ sp<AMessage> trimBuffersBeforeMeta(const sp<AMessage> &meta);
protected:
virtual ~AnotherPacketSource();