MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / flush

Method flush

framework/WebAssemblyPlayer/bitStreamDecoder.cpp:260–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258 }
259
260 void bitStreamDecoder::flush()
261 {
262 for (auto &item : mPacketQues) {
263 while (!item.second.empty()) {
264 item.second.pop();
265 }
266 }
267
268 mDemuxer.flush();
269
270 for (auto &item : mDecoders) {
271 item.second->flush();
272 }
273
274 inPutEOS = false;
275 decoderEOS = false;
276 decodersFlushed = false;
277 }
278
279 int bitStreamDecoder::getCacheDuration()
280 {

Callers 1

BSDecoderFlushFunction · 0.45

Calls 2

emptyMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected