| 1403 | static int init_output_stream(OutputStream *ost, char *error, int error_len); |
| 1404 | |
| 1405 | static void finish_output_stream(OutputStream *ost) |
| 1406 | { |
| 1407 | OutputFile *of = output_files[ost->file_index]; |
| 1408 | int i; |
| 1409 | |
| 1410 | ost->finished = ENCODER_FINISHED | MUXER_FINISHED; |
| 1411 | |
| 1412 | if (of->shortest) { |
| 1413 | for (i = 0; i < of->ctx->nb_streams; i++) |
| 1414 | output_streams[of->ost_index + i]->finished = ENCODER_FINISHED | MUXER_FINISHED; |
| 1415 | } |
| 1416 | } |
| 1417 | |
| 1418 | /** |
| 1419 | * Get and encode new output from any of the filtergraphs, without causing |
no outgoing calls
no test coverage detected