Merge change Ib1f5ee41 into eclair-mr2

* changes:
  It's important that seek requests are only specified in the initial call to MediaSource::read and are not repeated in subsequent calls.
This commit is contained in:
Android (Google) Code Review
2009-12-14 15:48:48 -08:00

View File

@@ -590,6 +590,7 @@ void AwesomePlayer::onEvent(int32_t code) {
} }
for (;;) { for (;;) {
status_t err = mVideoSource->read(&mVideoBuffer, &options); status_t err = mVideoSource->read(&mVideoBuffer, &options);
options.clearSeekTo();
if (err != OK) { if (err != OK) {
CHECK_EQ(mVideoBuffer, NULL); CHECK_EQ(mVideoBuffer, NULL);