On Tue, Jul 29, 2014 at 03:40:54PM +0200, Michael Niedermayer wrote:
[...]
> > @@ -289,7 +321,7 @@ static int hls_write_header(AVFormatContext *ctx)
> >
> > ret = avformat_write_header(hls->ctx, NULL);
> > if (ret < 0)
> > -return ret;
> > +goto fail;
> >
> > retu
On Fri, Jul 18, 2014 at 10:57:43AM +0200, Nicolas Martyanoff wrote:
> - Select a reference stream (the first video stream, or the first audio
> stream if there is no video stream) instead of using the PTS of any video
> stream.
>
> - Control the segment length using the time since the last seg
- Select a reference stream (the first video stream, or the first audio
stream if there is no video stream) instead of using the PTS of any video
stream.
- Control the segment length using the time since the last segment.
---
libavformat/hlsenc.c | 165 +++-