MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / flush_encoder

Function flush_encoder

doc/examples/transcode.c:544–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542}
543
544static int flush_encoder(unsigned int stream_index)
545{
546 if (!(stream_ctx[stream_index].enc_ctx->codec->capabilities &
547 AV_CODEC_CAP_DELAY))
548 return 0;
549
550 av_log(NULL, AV_LOG_INFO, "Flushing stream #%u encoder\n", stream_index);
551 return encode_write_frame(stream_index, 1);
552}
553
554int main(int argc, char **argv)
555{

Callers 1

mainFunction · 0.85

Calls 2

av_logFunction · 0.85
encode_write_frameFunction · 0.85

Tested by

no test coverage detected