summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-10-01 11:37:44 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-01 11:37:44 -0700
commit57853559c31154db9c202d653065c592169c5027 (patch)
treeecaeab996458e332966d47a681a326a409b92409 /media
parent797bb4f83dfcaf263c72b760dfa279e3fbb8d545 (diff)
parente619a9da44e4c00f9034917aef67f86da0bc207f (diff)
downloadframeworks_base-57853559c31154db9c202d653065c592169c5027.zip
frameworks_base-57853559c31154db9c202d653065c592169c5027.tar.gz
frameworks_base-57853559c31154db9c202d653065c592169c5027.tar.bz2
am e619a9da: Merge "Start playing live streams from the start, no the middle..." into gingerbread
Merge commit 'e619a9da44e4c00f9034917aef67f86da0bc207f' into gingerbread-plus-aosp * commit 'e619a9da44e4c00f9034917aef67f86da0bc207f': 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