Re: [FFmpeg-devel] [PATCH] avformat/hls: fix seek accuracy problem

2018-01-02 Thread Wu Zhiqiang
On Wed, Jan 3, 2018 at 1:00 PM, Aman Gupta wrote: > On Tue, Jan 2, 2018 at 7:27 PM Wu Zhiqiang wrote: > > > On Wed, Jan 3, 2018 at 2:03 AM, Aman Gupta wrote: > > > > > On Tue, Jan 2, 2018 at 3:05 AM Steven Liu > > wrote: > > > > > > > 2018-01-02 18:28 GMT+08:00 : > > > > > From: Wu Zhiqiang

Re: [FFmpeg-devel] [PATCH] avformat/hls: fix seek accuracy problem

2018-01-02 Thread Aman Gupta
On Tue, Jan 2, 2018 at 7:27 PM Wu Zhiqiang wrote: > On Wed, Jan 3, 2018 at 2:03 AM, Aman Gupta wrote: > > > On Tue, Jan 2, 2018 at 3:05 AM Steven Liu > wrote: > > > > > 2018-01-02 18:28 GMT+08:00 : > > > > From: Wu Zhiqiang > > > > > > > > HLS demuxer seeking use dts instead of pts. > > > > D

Re: [FFmpeg-devel] [PATCH] avformat/hls: fix seek accuracy problem

2018-01-02 Thread Wu Zhiqiang
On Wed, Jan 3, 2018 at 2:03 AM, Aman Gupta wrote: > On Tue, Jan 2, 2018 at 3:05 AM Steven Liu wrote: > > > 2018-01-02 18:28 GMT+08:00 : > > > From: Wu Zhiqiang > > > > > > HLS demuxer seeking use dts instead of pts. > > > Demuxer skip some frame when dts is before pts in special case. > > > An

Re: [FFmpeg-devel] [PATCH] avformat/hls: fix seek accuracy problem

2018-01-02 Thread Aman Gupta
On Tue, Jan 2, 2018 at 3:05 AM Steven Liu wrote: > 2018-01-02 18:28 GMT+08:00 : > > From: Wu Zhiqiang > > > > HLS demuxer seeking use dts instead of pts. > > Demuxer skip some frame when dts is before pts in special case. > > And it is impossible to re-seek back to start time after playing. > >

Re: [FFmpeg-devel] [PATCH] avformat/hls: fix seek accuracy problem

2018-01-02 Thread Steven Liu
2018-01-02 18:28 GMT+08:00 : > From: Wu Zhiqiang > > HLS demuxer seeking use dts instead of pts. > Demuxer skip some frame when dts is before pts in special case. > And it is impossible to re-seek back to start time after playing. > --- > libavformat/hls.c | 18 ++ > 1 file chang

[FFmpeg-devel] [PATCH] avformat/hls: fix seek accuracy problem

2018-01-02 Thread mymoeyard
From: Wu Zhiqiang HLS demuxer seeking use dts instead of pts. Demuxer skip some frame when dts is before pts in special case. And it is impossible to re-seek back to start time after playing. --- libavformat/hls.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --