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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user