Lines Matching defs:source_index
1050 static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, enum AVMediaType type, int source_index)
1175 ost->source_index = source_index;
1176 if (source_index >= 0) {
1177 ost->sync_ist = input_streams[source_index];
1178 input_streams[source_index]->discard = 0;
1179 input_streams[source_index]->st->discard = input_streams[source_index]->user_set_discard;
1266 static OutputStream *new_video_stream(OptionsContext *o, AVFormatContext *oc, int source_index)
1273 ost = new_output_stream(o, oc, AVMEDIA_TYPE_VIDEO, source_index);
1425 static OutputStream *new_audio_stream(OptionsContext *o, AVFormatContext *oc, int source_index)
1432 ost = new_output_stream(o, oc, AVMEDIA_TYPE_AUDIO, source_index);
1471 } else if (ost->source_index < 0) {
1476 ist = input_streams[ost->source_index];
1496 static OutputStream *new_data_stream(OptionsContext *o, AVFormatContext *oc, int source_index)
1500 ost = new_output_stream(o, oc, AVMEDIA_TYPE_DATA, source_index);
1509 static OutputStream *new_attachment_stream(OptionsContext *o, AVFormatContext *oc, int source_index)
1511 OutputStream *ost = new_output_stream(o, oc, AVMEDIA_TYPE_ATTACHMENT, source_index);
1517 static OutputStream *new_subtitle_stream(OptionsContext *o, AVFormatContext *oc, int source_index)
1523 ost = new_output_stream(o, oc, AVMEDIA_TYPE_SUBTITLE, source_index);
1666 ost->source_index = -1;
1813 ost->source_index= i;
2092 if (output_streams[i]->source_index < 0) /* this is true e.g. for attached files */
2094 ist = input_streams[output_streams[i]->source_index];