From d47dfcb5a2e5901c96fc92662cec7aa30f7f8843 Mon Sep 17 00:00:00 2001 From: Chong Zhang Date: Fri, 27 Mar 2015 15:53:45 -0700 Subject: 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 --- media/libstagefright/mpeg2ts/AnotherPacketSource.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'media/libstagefright/mpeg2ts/AnotherPacketSource.h') 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 getLatestDequeuedMeta(); sp getMetaAfterLastDequeued(int64_t delayUs); - void trimBuffersAfterTimeUs(size_t discontinuitySeq, int64_t timeUs); - sp trimBuffersBeforeTimeUs(size_t discontinuitySeq, int64_t timeUs); + void trimBuffersAfterMeta(const sp &meta); + sp trimBuffersBeforeMeta(const sp &meta); protected: virtual ~AnotherPacketSource(); -- cgit v1.1