Revision b2b77b9c ffserver.c

View differences:

ffserver.c
359 359
    return ((count - drd->count1) * 1000) / (cur_time - drd->time1);
360 360
}
361 361

  
362
static int get_longterm_datarate(DataRateData *drd, int64_t count)
363
{
364
    /* You get the first 3 seconds flat out */
365
    if (cur_time - drd->time1 < 3000)
366
        return 0;
367
    return compute_datarate(drd, count);
368
}
369

  
370 362

  
371 363
static void start_children(FFStream *feed)
372 364
{

Also available in: Unified diff