MCPcopy Create free account
hub / github.com/byhook/ffmpeg4android / finish_output_stream

Function finish_output_stream

ffmpeg-single-cmd/src/main/cpp/ffmpeg_mod.c:1405–1416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1403static int init_output_stream(OutputStream *ost, char *error, int error_len);
1404
1405static void finish_output_stream(OutputStream *ost)
1406{
1407 OutputFile *of = output_files[ost->file_index];
1408 int i;
1409
1410 ost->finished = ENCODER_FINISHED | MUXER_FINISHED;
1411
1412 if (of->shortest) {
1413 for (i = 0; i < of->ctx->nb_streams; i++)
1414 output_streams[of->ost_index + i]->finished = ENCODER_FINISHED | MUXER_FINISHED;
1415 }
1416}
1417
1418/**
1419 * Get and encode new output from any of the filtergraphs, without causing

Callers 3

flush_encodersFunction · 0.85
ifilter_send_eofFunction · 0.85
process_inputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected