am 176a13e8: Merge "Fix for HLS live streaming" into ics-mr1
* commit '176a13e8ccdaad196c1f738e89bdcbfc0fc90c80': Fix for HLS live streaming
This commit is contained in:
@@ -442,6 +442,10 @@ int64_t WVMExtractorImpl::getCachedDurationUs(status_t *finalStatus) {
|
|||||||
} else if (status != WV_Status_OK) {
|
} else if (status != WV_Status_OK) {
|
||||||
*finalStatus = ERROR_IO;
|
*finalStatus = ERROR_IO;
|
||||||
} else {
|
} else {
|
||||||
|
if (mIsLiveStream)
|
||||||
|
*finalStatus = ERROR_END_OF_STREAM;
|
||||||
|
else
|
||||||
|
*finalStatus = OK;
|
||||||
durationUs = (uint64_t)(secondsBuffered * 1000000LL);
|
durationUs = (uint64_t)(secondsBuffered * 1000000LL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user