Lines Matching refs:cur_file
60 ConcatFile *cur_file; member
198 ConcatStream *cs = &cat->cur_file->streams[idx]; in detect_stream_specific()
242 for (i = cat->cur_file->nb_streams; i < cat->avf->nb_streams; i++) { in match_streams_one_to_one()
251 cat->cur_file->streams[i].out_stream_index = i; in match_streams_one_to_one()
262 for (i = cat->cur_file->nb_streams; i < cat->avf->nb_streams; i++) { in match_streams_exact_id()
271 cat->cur_file->streams[i].out_stream_index = j; in match_streams_exact_id()
284 if (cat->cur_file->nb_streams >= cat->avf->nb_streams) in match_streams()
286 map = av_realloc(cat->cur_file->streams, in match_streams()
290 cat->cur_file->streams = map; in match_streams()
291 memset(map + cat->cur_file->nb_streams, 0, in match_streams()
292 (cat->avf->nb_streams - cat->cur_file->nb_streams) * sizeof(*map)); in match_streams()
294 for (i = cat->cur_file->nb_streams; i < cat->avf->nb_streams; i++) { in match_streams()
311 cat->cur_file->nb_streams = cat->avf->nb_streams; in match_streams()
353 cat->cur_file = file; in open_file()
525 unsigned fileno = cat->cur_file - cat->files; in open_next_file()
527 cat->cur_file->duration = get_best_effort_duration(cat->cur_file, cat->avf); in open_next_file()
563 if (cat->cur_file->outpoint != AV_NOPTS_VALUE && pkt->dts != AV_NOPTS_VALUE) { in packet_after_outpoint()
565 cat->cur_file->outpoint, AV_TIME_BASE_Q) >= 0; in packet_after_outpoint()
602 cs = &cat->cur_file->streams[pkt->stream_index]; in concat_read_packet()
614 (unsigned)(cat->cur_file - cat->files), pkt->stream_index, in concat_read_packet()
618 delta = av_rescale_q(cat->cur_file->start_time - cat->cur_file->file_inpoint, in concat_read_packet()
628 if (cat->cur_file->metadata) { in concat_read_packet()
630 char* packed_metadata = av_packet_pack_dictionary(cat->cur_file->metadata, &metadata_len); in concat_read_packet()
641 if (cat->cur_file->duration == AV_NOPTS_VALUE && st->cur_dts != AV_NOPTS_VALUE) { in concat_read_packet()
643 if (cat->cur_file->next_dts == AV_NOPTS_VALUE || next_dts > cat->cur_file->next_dts) { in concat_read_packet()
644 cat->cur_file->next_dts = next_dts; in concat_read_packet()
666 int64_t t0 = cat->cur_file->start_time - cat->cur_file->file_inpoint; in try_seek()
710 if (cat->cur_file != &cat->files[left]) { in real_seek()
721 if (cat->cur_file == &cat->files[left]) in real_seek()
734 ConcatFile *cur_file_saved = cat->cur_file; in concat_seek()
742 if (cat->cur_file != cur_file_saved) { in concat_seek()
747 cat->cur_file = cur_file_saved; in concat_seek()
749 if (cat->cur_file != cur_file_saved) { in concat_seek()