summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-10-01 11:40:18 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-01 11:40:18 -0700
commit01c048aad73aec73f03cc79538839b08b8c1d1c7 (patch)
tree69edb2542521eaf9c2c06fb811848f1d07ad8062 /media
parentfa1dc774ac8b929666519c57560bf2ce6d422e0f (diff)
parent555e9dc7439d89846f4d76046d45b628e2d7499e (diff)
downloadframeworks_av-01c048aad73aec73f03cc79538839b08b8c1d1c7.zip
frameworks_av-01c048aad73aec73f03cc79538839b08b8c1d1c7.tar.gz
frameworks_av-01c048aad73aec73f03cc79538839b08b8c1d1c7.tar.bz2
am 57853559: am e619a9da: Merge "Start playing live streams from the start, no the middle..." into gingerbread
Merge commit '57853559c31154db9c202d653065c592169c5027' * commit '57853559c31154db9c202d653065c592169c5027': Start playing live streams from the start, no the middle...
Diffstat (limited to 'media')
-rw-r--r--media/libstagefright/httplive/LiveSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/httplive/LiveSource.cpp b/media/libstagefright/httplive/LiveSource.cpp
index 001afc4..9103927 100644
--- a/media/libstagefright/httplive/LiveSource.cpp
+++ b/media/libstagefright/httplive/LiveSource.cpp
@@ -93,7 +93,7 @@ bool LiveSource::switchToNext() {
}
if (mLastFetchTimeUs < 0) {
- mPlaylistIndex = mPlaylist->size() / 2;
+ mPlaylistIndex = 0;
} else {
if (nextSequenceNumber < mFirstItemSequenceNumber
|| nextSequenceNumber