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:
Andreas Huber
2009-12-14 15:34:11 -08:00
parent 1955324151
commit b1f5ee41e9

View File

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