Re: [FFmpeg-devel] [PATCH] ismindex: handle discontinuous streams better

2014-10-09 Thread Michael Niedermayer
On Wed, Oct 08, 2014 at 09:39:26AM +0300, Mika Raento wrote: Reads the fragment duration from the trun sample data, rather than assuming that there are no gaps. Creates much better playlists for our inputs. --- tools/ismindex.c | 95 ++--

Re: [FFmpeg-devel] [PATCH] ismindex: handle discontinuous streams better

2014-10-08 Thread Carl Eugen Hoyos
Mika Raento mikie at iki.fi writes: +fprintf(stderr, negative sample duration %d\n, sample_duration); fprintf ( friends) are not allowed, please use av_log(). Note to others: Why did we remove the defines? Carl Eugen ___

Re: [FFmpeg-devel] [PATCH] ismindex: handle discontinuous streams better

2014-10-08 Thread Mika Raento
For better or worse, ismindex doesn't use av_log anywhere, I'm following the existing style in the file. Changing the whole file should be a separate patch? Mika On 8 October 2014 09:33, Carl Eugen Hoyos ceho...@ag.or.at wrote: Mika Raento mikie at iki.fi writes: +

Re: [FFmpeg-devel] [PATCH] ismindex: handle discontinuous streams better

2014-10-08 Thread Mika Raento
On 8 October 2014 08:12, Mika Raento mi...@iki.fi wrote: Reads the fragment duration from the trun sample data, rather than assuming that there are no gaps. Creates much better playlists for our inputs. --- tools/ismindex.c | 96 +--- 1

[FFmpeg-devel] [PATCH] ismindex: handle discontinuous streams better

2014-10-08 Thread Mika Raento
Reads the fragment duration from the trun sample data, rather than assuming that there are no gaps. Creates much better playlists for our inputs. --- tools/ismindex.c | 95 ++-- 1 file changed, 85 insertions(+), 10 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH] ismindex: handle discontinuous streams better

2014-10-08 Thread Carl Eugen Hoyos
Mika Raento mikie at iki.fi writes: For better or worse, ismindex doesn't use av_log anywhere, I'm following the existing style in the file. Sorry! Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH] ismindex: handle discontinuous streams better

2014-10-07 Thread Mika Raento
Reads the fragment duration from the trun sample data, rather than assuming that there are no gaps. Creates much better playlists for our inputs. --- tools/ismindex.c | 96 +--- 1 file changed, 85 insertions(+), 11 deletions(-) diff --git