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-07 Thread Carl Eugen Hoyos
Mika Raento 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 http://ffmpeg.org/mailman/listinfo/ffmp

[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 | 95 ++-- 1 file changed, 85 insertions(+), 10 deletions(-) diff --git a/tool

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

2014-10-07 Thread Mika Raento
On 8 October 2014 08:12, 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 | 96 > +--- > 1 file c

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

2014-10-07 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 wrote: > Mika Raento iki.fi> writes: > >> +fprintf(stderr, "negative sample

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

2014-10-07 Thread Carl Eugen Hoyos
Mika Raento 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 ___ ffmpeg-devel m

[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 a/tool