hlsdemux: cache the number of fragments we are required to cache
This commit is contained in:
parent
cfd28a6f90
commit
e2de4e5870
@ -958,7 +958,7 @@ gst_hls_demux_cache_fragments (GstHLSDemux * demux)
|
||||
}
|
||||
|
||||
/* Cache the first fragments */
|
||||
for (i = 0; i < demux->fragments_cache - 1; i++) {
|
||||
for (i = 0; i < demux->fragments_cache; i++) {
|
||||
g_get_current_time (&demux->next_update);
|
||||
g_time_val_add (&demux->next_update,
|
||||
demux->client->current->targetduration * 1000000);
|
||||
|
Loading…
x
Reference in New Issue
Block a user