Lines Matching defs:subsong
47 int subsong;
56 { "subsong", "set subsong", OFFSET(subsong), AV_OPT_TYPE_INT, { .i64 = -2 }, -2, INT_MAX, A | D, "subsong"},
57 { "all", "all", 0, AV_OPT_TYPE_CONST, { .i64 = -1}, 0, 0, A | D, "subsong" },
58 { "auto", "auto", 0, AV_OPT_TYPE_CONST, { .i64 = -2}, 0, 0, A | D, "subsong" },
122 if (openmpt->subsong >= openmpt_module_get_num_subsongs(openmpt->module)) {
123 av_log(s, AV_LOG_ERROR, "Invalid subsong index: %d\n", openmpt->subsong);
127 if (openmpt->subsong != -2) {
128 if (openmpt->subsong >= 0) {
129 av_dict_set_int(&s->metadata, "track", openmpt->subsong + 1, 0);
131 ret = openmpt_module_select_subsong(openmpt->module, openmpt->subsong);
133 av_log(s, AV_LOG_ERROR, "Could not select requested subsong: %d", openmpt->subsong);