Searched refs:n_segments (Results 1 – 4 of 4) sorted by relevance
63 int n_segments; member75 for (i = 0; i < s->n_segments; i++) in free_segment_list()78 s->n_segments = 0; in free_segment_list()153 dynarray_add(&s->segments, &s->n_segments, seg); in parse_playlist()219 if (s->n_segments == 0 && s->n_variants > 0) { in hls_open()233 if (s->n_segments == 0) { in hls_open()239 if (!s->finished && s->n_segments >= 3) in hls_open()240 s->cur_seq_no = s->start_seq_no + s->n_segments - 3; in hls_open()266 reload_interval = s->n_segments > 0 ? in hls_read()267 s->segments[s->n_segments - 1]->duration : in hls_read()[all …]
116 int n_segments; member218 static void free_segment_dynarray(struct segment **segments, int n_segments) in free_segment_dynarray() argument221 for (i = 0; i < n_segments; i++) { in free_segment_dynarray()230 free_segment_dynarray(pls->segments, pls->n_segments); in free_segment_list()232 pls->n_segments = 0; in free_segment_list()778 prev_n_segments = pls->n_segments; in parse_playlist()780 pls->n_segments = 0; in parse_playlist()849 int64_t seq = pls->start_seq_no + pls->n_segments; in parse_playlist()906 int64_t seq = pls->start_seq_no + pls->n_segments; in parse_playlist()951 dynarray_add(&pls->segments, &pls->n_segments, seg); in parse_playlist()[all …]
413 guint32 n_segments; member
1068 for (i = 0; i < stream->n_segments; i++) { in gst_qtdemux_find_segment()1076 if (i < stream->n_segments - 1) { in gst_qtdemux_find_segment()1175 if (seg_idx == str->n_segments) in gst_qtdemux_adjust_seek()1180 if (seg_idx == str->n_segments) { in gst_qtdemux_adjust_seek()2159 for (i = 0; i < stream->n_segments; i++) { in gst_qtdemux_map_and_push_segments()2176 g_assert (i == stream->n_segments - 1); in gst_qtdemux_map_and_push_segments()3228 (qtdemux->fragmented && stream->n_segments == 1)) && in check_update_duration()5368 if (stream->segment_index == stream->n_segments - 1) { in gst_qtdemux_advance_sample()5428 end_time = stream->segments[stream->n_segments - 1].stop_time; in gst_qtdemux_sync_streams()10169 stream->n_segments = 0; in qtdemux_parse_segments()[all …]