Merge "Fix Widevine HLS live streaming"
This commit is contained in:
@@ -311,7 +311,7 @@ status_t WVMMediaSource::read(MediaBuffer **buffer, const ReadOptions *options)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef REQUIRE_SECURE_BUFFERS
|
#ifdef REQUIRE_SECURE_BUFFERS
|
||||||
if (mESSelector == WV_EsSelector_Video) {
|
if (mESSelector == WV_EsSelector_Video && !mIsLiveStream) {
|
||||||
bytesRead = sDecryptContext[mESSelector].mOffset;
|
bytesRead = sDecryptContext[mESSelector].mOffset;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user