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

Function close_output_stream

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

Source from the content-addressed store, hash-verified

805}
806
807static void close_output_stream(OutputStream *ost)
808{
809 OutputFile *of = output_files[ost->file_index];
810
811 ost->finished |= ENCODER_FINISHED;
812 if (of->shortest) {
813 int64_t end = av_rescale_q(ost->sync_opts - ost->first_pts, ost->enc_ctx->time_base, AV_TIME_BASE_Q);
814 of->recording_time = FFMIN(of->recording_time, end);
815 }
816}
817
818static void output_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost)
819{

Callers 4

check_recording_timeFunction · 0.85
do_streamcopyFunction · 0.85
need_outputFunction · 0.85
transcode_from_filterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected