Additional changes for b/5081725 as per code review by Jeff Tinker. Missed allocating buffer for HLS case.

BUG: 5081725

Change-Id: I21439a5dcce38102a943ade966b5fa79f3d1a686
This commit is contained in:
Edwin Wong
2011-09-12 13:57:57 -07:00
parent ba14720f8e
commit 6aaee145d8

View File

@@ -123,6 +123,10 @@ status_t WVMMediaSource::start(MetaData *)
#ifndef REQUIRE_SECURE_BUFFERS #ifndef REQUIRE_SECURE_BUFFERS
allocBufferGroup(); allocBufferGroup();
#else
if (mIsLiveStream) {
allocBufferGroup();
}
#endif #endif
} else { } else {
// audio // audio