| 3592 | } |
| 3593 | |
| 3594 | static 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 | |
| 3609 | static int transcode_init(void) |
| 3610 | { |