From a424f7c628036d23af078cc89d104c27735970fb Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Fri, 1 Oct 2010 11:28:44 -0700 Subject: [PATCH] Start playing live streams from the start, no the middle... Change-Id: Ie01ba1250b51155cb1fb32fc3340189a16c01476 related-to-bug: 2368598 --- media/libstagefright/httplive/LiveSource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/libstagefright/httplive/LiveSource.cpp b/media/libstagefright/httplive/LiveSource.cpp index 001afc4213b36..9103927d3e14e 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