On Mon, May 09, 2016 at 06:17:36PM +0200, Jack wrote:
> Signed-off-by: jack <ffm...@jack.fr.eu.org>
> ---
>  libavformat/hlsenc.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
> index a9fa5d8..77712d0 100644
> --- a/libavformat/hlsenc.c
> +++ b/libavformat/hlsenc.c
> @@ -624,6 +624,11 @@ static int hls_start(AVFormatContext *s)
>          err = avformat_write_header(vtt_oc,NULL);
>          if (err < 0)
>              return err;
> +    } else {
> +        HLSContext *hls = s->priv_data;
> +        av_dict_copy(&options, hls->format_options, 0);
> +        avformat_write_header(hls->avf, &options);
> +        av_dict_free(&options);

why does resend_headers not resend the headers?

calling avformat_write_header() multiple times looks odd unless theres
something iam missing

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to