MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / flush

Method flush

pj_scene2D/core/src/ffmpeg_decoder.cpp:333–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331}
332
333void FfmpegDecoder::flush() {
334 if (codec_ctx_ != nullptr) {
335 avcodec_flush_buffers(codec_ctx_);
336 }
337}
338
339std::vector<DecodedFrame> FfmpegDecoder::drain() {
340 std::vector<DecodedFrame> frames;

Callers 6

demux_framesFunction · 0.45
decodeAtMethod · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
CountingHttpServerMethod · 0.45

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.36
TESTFunction · 0.36
CountingHttpServerMethod · 0.36