Re: [FFmpeg-devel] [PATCH v2, 2/2] avformat/hls: fix start time seek error

2018-01-03 Thread wm4
On Tue, 2 Jan 2018 22:44:47 -0500 mymoey...@gmail.com wrote: > From: Wu Zhiqiang > > Calculate first_timestamp based on first packet timestamp. > Some m3u8 have streams that second one has smaller timestamp > in first packet of this stream. > Start/seek from start time may

[FFmpeg-devel] [PATCH v2, 2/2] avformat/hls: fix start time seek error

2018-01-02 Thread mymoeyard
From: Wu Zhiqiang Calculate first_timestamp based on first packet timestamp. Some m3u8 have streams that second one has smaller timestamp in first packet of this stream. Start/seek from start time may fail due to EIO error. It should be based on start_time of