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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user