MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / show_programs

Function show_programs

fftools/ffprobe.c:2026–2042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2024}
2025
2026static int show_programs(AVTextFormatContext *tfc, InputFile *ifile)
2027{
2028 AVFormatContext *fmt_ctx = ifile->fmt_ctx;
2029 int i, ret = 0;
2030
2031 avtext_print_section_header(tfc, NULL, SECTION_ID_PROGRAMS);
2032 for (i = 0; i < fmt_ctx->nb_programs; i++) {
2033 AVProgram *program = fmt_ctx->programs[i];
2034 if (!program)
2035 continue;
2036 ret = show_program(tfc, ifile, program);
2037 if (ret < 0)
2038 break;
2039 }
2040 avtext_print_section_footer(tfc);
2041 return ret;
2042}
2043
2044static void print_tile_grid_params(AVTextFormatContext *tfc, const AVStreamGroup *stg,
2045 const AVStreamGroupTileGrid *tile_grid)

Callers 1

probe_fileFunction · 0.85

Calls 3

show_programFunction · 0.85

Tested by

no test coverage detected