mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
mpegtsenc: fix delay type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
940be96540
commit
9c409e568f
@ -990,7 +990,7 @@ static int mpegts_write_packet_internal(AVFormatContext *s, AVPacket *pkt)
|
||||
uint8_t *data= NULL;
|
||||
MpegTSWrite *ts = s->priv_data;
|
||||
MpegTSWriteStream *ts_st = st->priv_data;
|
||||
const uint64_t delay = av_rescale(s->max_delay, 90000, AV_TIME_BASE)*2;
|
||||
const int64_t delay = av_rescale(s->max_delay, 90000, AV_TIME_BASE)*2;
|
||||
int64_t dts = AV_NOPTS_VALUE, pts = AV_NOPTS_VALUE;
|
||||
|
||||
if (ts->reemit_pat_pmt) {
|
||||
|
Loading…
Reference in New Issue
Block a user