Fix an intermittent issue with HLS live streaming
An uninitialized return code was causing intermittent playback failure during Widevine HLS live playback Change-Id: Ib45176e7f91e2b6ccf0eb4185c6d58d3be0229b4 related-to-bug: 6277231
This commit is contained in:
@@ -345,9 +345,11 @@ status_t WVMMediaSource::read(MediaBuffer **buffer, const ReadOptions *options)
|
||||
break;
|
||||
|
||||
#ifdef REQUIRE_SECURE_BUFFERS
|
||||
ALOGD("buffer overflow");
|
||||
mediaBuf->release();
|
||||
return ERROR_IO;
|
||||
if (!mIsLiveStream) {
|
||||
ALOGD("buffer overflow");
|
||||
mediaBuf->release();
|
||||
return ERROR_IO;
|
||||
}
|
||||
#endif
|
||||
|
||||
//ALOGD("Resizing...");
|
||||
|
||||
Reference in New Issue
Block a user