Re: [FFmpeg-devel] [PATCH] avformat/concat: Fix wrong wrapped timestamp

2017-12-14 Thread 吴志强
I see pts_wrap_bits must be modified in this function. I re-submit the new patch, only replace avpriv_set_pts_info st->pts_wrap_bits = source_st->pts_wrap_bits by avpriv_set_pts_info. Liu Steven 于 2017年12月15日周五 上午6:30写道: > > > 在 2017年12月15日,上午12:04,Michael Niedermayer 写道: > > > > On Th

Re: [FFmpeg-devel] [PATCH] avformat/concat: Fix wrong wrapped timestamp

2017-12-14 Thread Liu Steven
> 在 2017年12月15日,上午12:04,Michael Niedermayer 写道: > > On Thu, Dec 14, 2017 at 03:00:50AM -0500, mymoey...@gmail.com wrote: >> From: wu zhiqiang >> >> When using concat protocal, start from middle of file will generate non-zero >> wrap reference. If seek to time less than the wrap reference, wra

Re: [FFmpeg-devel] [PATCH] avformat/concat: Fix wrong wrapped timestamp

2017-12-14 Thread Michael Niedermayer
On Thu, Dec 14, 2017 at 03:00:50AM -0500, mymoey...@gmail.com wrote: > From: wu zhiqiang > > When using concat protocal, start from middle of file will generate non-zero > wrap reference. If seek to time less than the wrap reference, wrap control > will be triggered and generate wrong wrapped t

Re: [FFmpeg-devel] [PATCH] avformat/concat: Fix wrong wrapped timestamp

2017-12-14 Thread Steven Liu
2017-12-14 16:00 GMT+08:00 : > From: wu zhiqiang > > When using concat protocal, start from middle of file will generate non-zero > wrap reference. If seek to time less than the wrap reference, wrap control > will be triggered and generate wrong wrapped timestamp. > Copy wrap related stream pro

[FFmpeg-devel] [PATCH] avformat/concat: Fix wrong wrapped timestamp

2017-12-14 Thread mymoeyard
From: wu zhiqiang When using concat protocal, start from middle of file will generate non-zero wrap reference. If seek to time less than the wrap reference, wrap control will be triggered and generate wrong wrapped timestamp. Copy wrap related stream properties when reading header can fix this