Merge "Fix Widevine HLS live streaming"

This commit is contained in:
Jeff Tinker
2012-03-16 12:15:51 -07:00
committed by Android (Google) Code Review

View File

@@ -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