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

Function report_new_stream

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

Source from the content-addressed store, hash-verified

3592}
3593
3594static void report_new_stream(int input_index, AVPacket *pkt)
3595{
3596 InputFile *file = input_files[input_index];
3597 AVStream *st = file->ctx->streams[pkt->stream_index];
3598
3599 if (pkt->stream_index < file->nb_streams_warn)
3600 return;
3601 av_log(file->ctx, AV_LOG_WARNING,
3602 "New %s stream %d:%d at pos:%"PRId64" and DTS:%ss\n",
3603 av_get_media_type_string(st->codecpar->codec_type),
3604 input_index, pkt->stream_index,
3605 pkt->pos, av_ts2timestr(pkt->dts, &st->time_base));
3606 file->nb_streams_warn = pkt->stream_index + 1;
3607}
3608
3609static int transcode_init(void)
3610{

Callers 1

process_inputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected