Re: [FFmpeg-devel] understanding usage of av_compare_ts() in avformat/hlsenc

2014-07-09 Thread Nicolas Martyanoff
On 2014-07-10 01:41, Anssi Hannula wrote: > 08.07.2014 13:19, Nicolas Martyanoff kirjoitti: > > Hi, > > Hi, > > > I am currently working on improving the hlsenc muxer to support byteranges > > (HLS version 4), and it is starting to work :) But there is a line that > > really > > puzzles me: > >

Re: [FFmpeg-devel] understanding usage of av_compare_ts() in avformat/hlsenc

2014-07-09 Thread Anssi Hannula
08.07.2014 13:19, Nicolas Martyanoff kirjoitti: > Hi, Hi, > I am currently working on improving the hlsenc muxer to support byteranges > (HLS version 4), and it is starting to work :) But there is a line that really > puzzles me: > > > if (can_split && av_compare_ts(pkt->pts - hls->start_pt