Revision 907d9166

View differences:

libavformat/mpegtsenc.c
471 471
        1000 * 8 * pat_pmt_size / SDT_RETRANS_TIME     + /* PAT+PMT size */
472 472
        1000 * 8 * 8            / PCR_RETRANS_TIME;      /* PCR size */
473 473

  
474
    av_log(s, AV_LOG_DEBUG, "muxrate %d freq sdt %d pat %d\n",
475
           total_bit_rate, ts->sdt_packet_period, ts->pat_packet_period);
476

  
477 474
    if (s->mux_rate)
478 475
        ts->mux_rate = s->mux_rate;
479 476
    else
......
489 486
    // output a PCR as soon as possible
490 487
    service->pcr_packet_count = service->pcr_packet_period;
491 488

  
489
    av_log(s, AV_LOG_DEBUG,
490
           "calculated bitrate %d bps, muxrate %d bps, "
491
           "sdt every %d, pat/pmt every %d pkts\n",
492
           total_bit_rate, ts->mux_rate, ts->sdt_packet_period,
493
           ts->pat_packet_period);
494

  
492 495
    // adjust pcr
493 496
    ts->cur_pcr /= ts->mux_rate;
494 497

  

Also available in: Unified diff