Fix log message
This commit is contained in:
parent
6c7b4e1fb2
commit
b96d7a1782
|
@ -194,8 +194,8 @@ std::size_t Streams::GetStreamDataMaxSize(const Stream &stream) const {
|
||||||
Streams::stream_datas_t Streams::GetStreamDatas(const Stream &stream) {
|
Streams::stream_datas_t Streams::GetStreamDatas(const Stream &stream) {
|
||||||
std::unique_lock<std::mutex> lock(mtx_);
|
std::unique_lock<std::mutex> lock(mtx_);
|
||||||
if (!HasStreamDatas(stream) || stream_datas_map_.at(stream).empty()) {
|
if (!HasStreamDatas(stream) || stream_datas_map_.at(stream).empty()) {
|
||||||
LOG(WARNING) << "There are stream datas of " << stream
|
LOG(WARNING) << "There are no stream datas of " << stream
|
||||||
<< ", do you first call WaitForStreams?";
|
<< ". Did you call WaitForStreams() before this?";
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
stream_datas_t datas = stream_datas_map_.at(stream);
|
stream_datas_t datas = stream_datas_map_.at(stream);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user