Revision 620b9df7

View differences:

libavformat/mpegtsenc.c
445 445
           total_bit_rate, ts->sdt_packet_freq, ts->pat_packet_freq);
446 446
#endif
447 447

  
448
    ts->mux_rate = total_bit_rate;
448
    if (s->mux_rate)
449
        ts->mux_rate = s->mux_rate;
450
    else
451
        ts->mux_rate = total_bit_rate;
449 452

  
450 453
    /* write info at the start of the file, so that it will be fast to
451 454
       find them */

Also available in: Unified diff