| 246 | } |
| 247 | |
| 248 | void CacheModule::setStreamMeta(const vector<Stream_meta *> &streamMetas) |
| 249 | { |
| 250 | clearStreamMetas(); |
| 251 | |
| 252 | if (streamMetas.empty()) { |
| 253 | return; |
| 254 | } |
| 255 | |
| 256 | for (auto &item : streamMetas) { |
| 257 | mStreamMetas.push_back(item); |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | void CacheModule::clearStreamMetas() |
| 262 | { |
no test coverage detected