It seems most broadcasts uses a buffer fullness of half the vbv when sending, let's do the same
This commit is contained in:
parent
0037664d2e
commit
09129a1ba2
1 changed files with 1 additions and 1 deletions
2
tsmux.c
2
tsmux.c
|
@ -387,7 +387,7 @@ lookahead_dequeue(ts_muxer_t *ts, th_muxstream_t *tms)
|
|||
|
||||
if(tms->tms_mux_offset == AV_NOPTS_VALUE) {
|
||||
if(tms->tms_stream->st_vbv_delay == -1)
|
||||
tms->tms_mux_offset = tdur - pkt->pkt_duration;
|
||||
tms->tms_mux_offset = tdur / 2 - pkt->pkt_duration;
|
||||
else
|
||||
tms->tms_mux_offset = tms->tms_stream->st_vbv_delay;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue