if (p_sys->b_live)
i-- ;
else
- i++;
+ i++;
}
msg_Info(s, "Choose segment %d/%d (sequence=%d)", wanted, count, sequence);
}
/* Ignore the rest of the line */
-
return VLC_SUCCESS;
}
else
{
/* No Meta playlist used */
- char* uri = ConstructUrl( &s->p_sys->m3u8 );
- if ( uri == NULL )
+ char* uri = ConstructUrl( &s->p_sys->m3u8 );
+ if (uri == NULL)
return VLC_EGENERIC;
hls = hls_New(streams, 0, 0, uri);
free( uri );
goto fail;
}
-
p_sys->download.stream = current;
p_sys->playback.stream = current;
p_sys->download.seek = -1;
return size;
}
-
static int segment_Seek(stream_t *s, const uint64_t pos)
{
stream_sys_t *p_sys = s->p_sys;