diff options
author | Robert Shih <robertshih@google.com> | 2015-02-02 15:29:50 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-02-02 15:29:50 +0000 |
commit | f5a60185ec550d8447a44172027925550e6849d9 (patch) | |
tree | 3779b7b199a4e17c21fd102fb6d29f8a88fc0d75 /media | |
parent | ff430c633e52f15acdd305953e6071b75f1e700c (diff) | |
parent | 9787254f1ef27e86390a31a7ef05d94ff2f65232 (diff) | |
download | frameworks_av-f5a60185ec550d8447a44172027925550e6849d9.zip frameworks_av-f5a60185ec550d8447a44172027925550e6849d9.tar.gz frameworks_av-f5a60185ec550d8447a44172027925550e6849d9.tar.bz2 |
am 9787254f: am 296a0d03: Merge "PlaylistFetcher: clear packet sources when adjusting starting sequence number" into lmp-mr1-dev
* commit '9787254f1ef27e86390a31a7ef05d94ff2f65232':
PlaylistFetcher: clear packet sources when adjusting starting sequence number
Diffstat (limited to 'media')
-rw-r--r-- | media/libstagefright/httplive/PlaylistFetcher.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libstagefright/httplive/PlaylistFetcher.cpp b/media/libstagefright/httplive/PlaylistFetcher.cpp index 1526af1..0630a5b 100644 --- a/media/libstagefright/httplive/PlaylistFetcher.cpp +++ b/media/libstagefright/httplive/PlaylistFetcher.cpp @@ -976,6 +976,10 @@ void PlaylistFetcher::onDownloadNext() { if (err == -EAGAIN) { // starting sequence number too low/high mTSParser.clear(); + for (size_t i = 0; i < mPacketSources.size(); i++) { + sp<AnotherPacketSource> packetSource = mPacketSources.valueAt(i); + packetSource->clear(); + } postMonitorQueue(); return; } else if (err == ERROR_OUT_OF_RANGE) { |