am c2f46759: DO NOT MERGE Fix Widevine HLS live streaming

* commit 'c2f46759cc93e993100eb49f7c70b154e8ce033f':
  DO NOT MERGE Fix Widevine HLS live streaming
This commit is contained in:
Jeff Tinker
2012-03-16 18:54:05 -07:00
committed by Android Git Automerger

View File

@@ -323,7 +323,7 @@ status_t WVMMediaSource::read(MediaBuffer **buffer, const ReadOptions *options)
}
#ifdef REQUIRE_SECURE_BUFFERS
if (mESSelector == WV_EsSelector_Video) {
if (mESSelector == WV_EsSelector_Video && !mIsLiveStream) {
bytesRead = sDecryptContext[mESSelector].mOffset;
}
#endif