diff options
author | Andreas Huber <andih@google.com> | 2010-10-01 11:28:44 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-10-01 11:28:44 -0700 |
commit | 6466853f05e3f3b050de210490cc0fc855e60bb7 (patch) | |
tree | b3d88697f2ee371f5fc3490850d40199810e3fdd /media | |
parent | 6a63a939601645404fd98f58c19cc38ca818d99e (diff) | |
download | frameworks_av-6466853f05e3f3b050de210490cc0fc855e60bb7.zip frameworks_av-6466853f05e3f3b050de210490cc0fc855e60bb7.tar.gz frameworks_av-6466853f05e3f3b050de210490cc0fc855e60bb7.tar.bz2 |
Start playing live streams from the start, no the middle...
Change-Id: Ie01ba1250b51155cb1fb32fc3340189a16c01476
related-to-bug: 2368598
Diffstat (limited to 'media')
-rw-r--r-- | media/libstagefright/httplive/LiveSource.cpp | 2 |
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 |