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