summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-10-01 11:35:17 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-10-01 11:35:17 -0700
commita49c0d09653da20a7194d96fa43b230b2580ba75 (patch)
tree299bae8c244fda62a15accb97d08941680c89de6 /media/libstagefright
parentcaf5a483b16c2d123eddcf28241ad71131568033 (diff)
parent6466853f05e3f3b050de210490cc0fc855e60bb7 (diff)
downloadframeworks_av-a49c0d09653da20a7194d96fa43b230b2580ba75.zip
frameworks_av-a49c0d09653da20a7194d96fa43b230b2580ba75.tar.gz
frameworks_av-a49c0d09653da20a7194d96fa43b230b2580ba75.tar.bz2
Merge "Start playing live streams from the start, no the middle..." into gingerbread
Diffstat (limited to 'media/libstagefright')
-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