Re: [FFmpeg-devel] [PATCH 2/2] avformat: add avformat_flush()

2015-03-04 Thread Michael Niedermayer
On Wed, Oct 01, 2014 at 07:59:12AM +0200, Reimar Döffinger wrote: > On 30.09.2014, at 22:25, wm4 wrote: > > On Tue, 30 Sep 2014 08:06:16 +0200 > > Reimar Döffinger wrote: > > > >> On 29.09.2014, at 22:02, Michael Niedermayer wrote: > >>> On Mon, Sep 29, 2014 at 08:34:44PM +0200, wm4 wrote: > >>

Re: [FFmpeg-devel] [PATCH 2/2] avformat: add avformat_flush()

2014-09-30 Thread Reimar Döffinger
On 30.09.2014, at 22:25, wm4 wrote: > On Tue, 30 Sep 2014 08:06:16 +0200 > Reimar Döffinger wrote: > >> On 29.09.2014, at 22:02, Michael Niedermayer wrote: >>> On Mon, Sep 29, 2014 at 08:34:44PM +0200, wm4 wrote: On Mon, 29 Sep 2014 20:25:47 +0200 Michael Niedermayer wrote: >>>

Re: [FFmpeg-devel] [PATCH 2/2] avformat: add avformat_flush()

2014-09-30 Thread wm4
On Tue, 30 Sep 2014 08:06:16 +0200 Reimar Döffinger wrote: > On 29.09.2014, at 22:02, Michael Niedermayer wrote: > > On Mon, Sep 29, 2014 at 08:34:44PM +0200, wm4 wrote: > >> On Mon, 29 Sep 2014 20:25:47 +0200 > >> Michael Niedermayer wrote: > >> > >>> On Mon, Sep 29, 2014 at 07:41:28PM +0200,

Re: [FFmpeg-devel] [PATCH 2/2] avformat: add avformat_flush()

2014-09-29 Thread Reimar Döffinger
On 29.09.2014, at 22:02, Michael Niedermayer wrote: > On Mon, Sep 29, 2014 at 08:34:44PM +0200, wm4 wrote: >> On Mon, 29 Sep 2014 20:25:47 +0200 >> Michael Niedermayer wrote: >> >>> On Mon, Sep 29, 2014 at 07:41:28PM +0200, wm4 wrote: Useful for Bluray and DVD, since the libraries used to r

Re: [FFmpeg-devel] [PATCH 2/2] avformat: add avformat_flush()

2014-09-29 Thread Michael Niedermayer
On Mon, Sep 29, 2014 at 08:34:44PM +0200, wm4 wrote: > On Mon, 29 Sep 2014 20:25:47 +0200 > Michael Niedermayer wrote: > > > On Mon, Sep 29, 2014 at 07:41:28PM +0200, wm4 wrote: > > > Useful for Bluray and DVD, since the libraries used to read them just > > > change the byte stream under your fee

Re: [FFmpeg-devel] [PATCH 2/2] avformat: add avformat_flush()

2014-09-29 Thread wm4
On Mon, 29 Sep 2014 20:25:47 +0200 Michael Niedermayer wrote: > On Mon, Sep 29, 2014 at 07:41:28PM +0200, wm4 wrote: > > Useful for Bluray and DVD, since the libraries used to read them just > > change the byte stream under your feet on seeking. > > > > Maybe there should be a AVInputFormat call

Re: [FFmpeg-devel] [PATCH 2/2] avformat: add avformat_flush()

2014-09-29 Thread Michael Niedermayer
On Mon, Sep 29, 2014 at 07:41:28PM +0200, wm4 wrote: > Useful for Bluray and DVD, since the libraries used to read them just > change the byte stream under your feet on seeking. > > Maybe there should be a AVInputFormat callback for this. But the > mpeg-ps (DVD) and the mpeg-ts (Bluray) demuxers d

[FFmpeg-devel] [PATCH 2/2] avformat: add avformat_flush()

2014-09-29 Thread wm4
Useful for Bluray and DVD, since the libraries used to read them just change the byte stream under your feet on seeking. Maybe there should be a AVInputFormat callback for this. But the mpeg-ps (DVD) and the mpeg-ts (Bluray) demuxers don't change much state during seeking - they just try to find a