[FFmpeg-devel] [PATCH] Push hls_ts_options to every chunks (fix #5525)
Michael Niedermayer
michael at niedermayer.cc
Sun May 15 00:14:23 CEST 2016
On Mon, May 09, 2016 at 06:17:36PM +0200, Jack wrote:
> Signed-off-by: jack <ffmpeg at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160515/b3bcf288/attachment.sig>
More information about the ffmpeg-devel
mailing list