Merge "Fix an intermittent issue with HLS live streaming"
This commit is contained in:
@@ -335,9 +335,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