Lines Matching defs:variant
61 * parallel (preferably only one bandwidth variant at a time). In this case,
62 * the user supplied the url to a main playlist that only lists the variant
66 * one anonymous toplevel variant for this, to maintain the structure.
165 * with them, and variant main Media Playlists may have
179 * contained in the main Media Playlist of the variant (in which case
191 struct variant {
194 /* every variant contains at least the main Media Playlist in index 0 */
207 struct variant **variants;
294 struct variant *var = c->variants[i];
339 /* variant group ids: */
345 static struct variant *new_variant(HLSContext *c, struct variant_info *info,
348 struct variant *var;
355 var = av_mallocz(sizeof(struct variant));
605 /* used by parse_playlist to allocate a new variant+playlist when the
608 * allocated the variant and playlist already)
610 * *pls != NULL => parented Media Playlist, playlist+variant allocated */
1628 static void add_renditions_to_variant(HLSContext *c, struct variant *var,
1640 * => add the playlist to the variant */
1643 /* rendition is part of the variant main Media Playlist
1806 struct variant *v = c->variants[i];
1983 struct variant *var = c->variants[i];
1993 /* Create a program for each variant */
1995 struct variant *v = c->variants[i];