Re: [FFmpeg-devel] [RFC PATCH] avformat/utils: always seek back after avformat_find_stream_info()

2019-04-10 Thread Andreas Rheinhardt via ffmpeg-devel
Aman Gupta: > On Wed, Apr 10, 2019 at 1:00 AM Hendrik Leppkes wrote: > >> On Wed, Apr 10, 2019 at 9:55 AM Aman Gupta wrote: >>> >>> On Tue, Apr 9, 2019 at 9:49 PM Hendrik Leppkes >> wrote: >>> On Wed, Apr 10, 2019 at 2:21 AM Aman Gupta wrote: > > From: Aman Gupta > >

Re: [FFmpeg-devel] [RFC PATCH] avformat/utils: always seek back after avformat_find_stream_info()

2019-04-10 Thread Aman Gupta
On Wed, Apr 10, 2019 at 1:00 AM Hendrik Leppkes wrote: > On Wed, Apr 10, 2019 at 9:55 AM Aman Gupta wrote: > > > > On Tue, Apr 9, 2019 at 9:49 PM Hendrik Leppkes > wrote: > > > > > On Wed, Apr 10, 2019 at 2:21 AM Aman Gupta wrote: > > > > > > > > From: Aman Gupta > > > > > > > > Previously,

Re: [FFmpeg-devel] [RFC PATCH] avformat/utils: always seek back after avformat_find_stream_info()

2019-04-10 Thread Hendrik Leppkes
On Wed, Apr 10, 2019 at 9:55 AM Aman Gupta wrote: > > On Tue, Apr 9, 2019 at 9:49 PM Hendrik Leppkes wrote: > > > On Wed, Apr 10, 2019 at 2:21 AM Aman Gupta wrote: > > > > > > From: Aman Gupta > > > > > > Previously, the initial seek position was recorded into > > > old_offset at the beginning

Re: [FFmpeg-devel] [RFC PATCH] avformat/utils: always seek back after avformat_find_stream_info()

2019-04-10 Thread Aman Gupta
On Tue, Apr 9, 2019 at 9:49 PM Hendrik Leppkes wrote: > On Wed, Apr 10, 2019 at 2:21 AM Aman Gupta wrote: > > > > From: Aman Gupta > > > > Previously, the initial seek position was recorded into > > old_offset at the beginning of avformat_find_stream_info(), > > and passed into

Re: [FFmpeg-devel] [RFC PATCH] avformat/utils: always seek back after avformat_find_stream_info()

2019-04-09 Thread Hendrik Leppkes
On Wed, Apr 10, 2019 at 2:21 AM Aman Gupta wrote: > > From: Aman Gupta > > Previously, the initial seek position was recorded into > old_offset at the beginning of avformat_find_stream_info(), > and passed into estimate_timings(). In the case of mpegts > with a known filesize, it was further

[FFmpeg-devel] [RFC PATCH] avformat/utils: always seek back after avformat_find_stream_info()

2019-04-09 Thread Aman Gupta
From: Aman Gupta Previously, the initial seek position was recorded into old_offset at the beginning of avformat_find_stream_info(), and passed into estimate_timings(). In the case of mpegts with a known filesize, it was further passed into estimate_timings_from_pts() which called