diff --git a/proprietary/wvm/WVMExtractorImpl.cpp b/proprietary/wvm/WVMExtractorImpl.cpp index 8b27adc3..bc3aa00c 100644 --- a/proprietary/wvm/WVMExtractorImpl.cpp +++ b/proprietary/wvm/WVMExtractorImpl.cpp @@ -442,6 +442,10 @@ int64_t WVMExtractorImpl::getCachedDurationUs(status_t *finalStatus) { } else if (status != WV_Status_OK) { *finalStatus = ERROR_IO; } else { + if (mIsLiveStream) + *finalStatus = ERROR_END_OF_STREAM; + else + *finalStatus = OK; durationUs = (uint64_t)(secondsBuffered * 1000000LL); }