Lines Matching full:tee
2 * Tee pseudo-muxer
76 .class_name = "Tee muxer",
147 TeeContext *tee = avf->priv_data; in close_slaves() local
150 for (i = 0; i < tee->nb_slaves; i++) { in close_slaves()
151 close_slave(&tee->slaves[i]); in close_slaves()
153 av_freep(&tee->slaves); in close_slaves()
432 TeeContext *tee = avf->priv_data; in tee_process_slave_failure() local
433 TeeSlave *tee_slave = &tee->slaves[slave_idx]; in tee_process_slave_failure()
435 tee->nb_alive--; in tee_process_slave_failure()
439 if (!tee->nb_alive) { in tee_process_slave_failure()
440 av_log(avf, AV_LOG_ERROR, "All tee outputs failed.\n"); in tee_process_slave_failure()
447 slave_idx, av_err2str(err_n), tee->nb_alive, tee->nb_slaves); in tee_process_slave_failure()
454 TeeContext *tee = avf->priv_data; in tee_write_header() local
475 if (!FF_ALLOCZ_TYPED_ARRAY(tee->slaves, nb_slaves)) { in tee_write_header()
479 tee->nb_slaves = tee->nb_alive = nb_slaves; in tee_write_header()
483 tee->slaves[i].use_fifo = tee->use_fifo; in tee_write_header()
484 ret = av_dict_copy(&tee->slaves[i].fifo_options, tee->fifo_options, 0); in tee_write_header()
488 if ((ret = open_slave(avf, slaves[i], &tee->slaves[i])) < 0) { in tee_write_header()
493 log_slave(&tee->slaves[i], avf, AV_LOG_VERBOSE); in tee_write_header()
500 for (j = 0; j < tee->nb_slaves; j++) in tee_write_header()
501 if (tee->slaves[j].avf) in tee_write_header()
502 mapped += tee->slaves[j].stream_map[i] >= 0; in tee_write_header()
520 TeeContext *tee = avf->priv_data; in tee_write_trailer() local
524 for (i = 0; i < tee->nb_slaves; i++) { in tee_write_trailer()
525 if ((ret = close_slave(&tee->slaves[i])) < 0) { in tee_write_trailer()
531 av_freep(&tee->slaves); in tee_write_trailer()
537 TeeContext *tee = avf->priv_data; in tee_write_packet() local
545 for (i = 0; i < tee->nb_slaves; i++) { in tee_write_packet()
546 if (!(avf2 = tee->slaves[i].avf)) in tee_write_packet()
561 s2 = tee->slaves[i].stream_map[s]; in tee_write_packet()
570 bsfs = tee->slaves[i].bsfs[s2]; in tee_write_packet()
609 .name = "tee",
610 .long_name = NULL_IF_CONFIG_SMALL("Multiple muxer tee"),