[FFmpeg-trac] #9474(avformat:new): Incorrect value of #EXT-X-PROGRAM-DATE-TIME added in absence of the flag
FFmpeg
trac at avcodec.org
Mon Oct 25 16:12:16 EEST 2021
#9474: Incorrect value of #EXT-X-PROGRAM-DATE-TIME added in absence of the flag
------------------------------------+------------------------------------
Reporter: Yash | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: HLS | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by Yash):
Seems to have been introduced while fixing
[https://trac.ffmpeg.org/ticket/8989]. Following changes needed at
[https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/hlsenc.c#L1290]
From
{{{
vs->last_segment->discont_program_date_time = discont_program_date_time;
discont_program_date_time += vs->duration;
}}}
To
{{{
if (discont_program_date_time > 0) {
vs->last_segment->discont_program_date_time =
discont_program_date_time;
discont_program_date_time += vs->duration;
}
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9474#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list