Commit b26cbf75 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'f7b24043'

* commit 'f7b24043':
  segment: Set the resend_headers flag for each segment
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 50c555e3 f7b24043
......@@ -144,6 +144,9 @@ static int segment_start(AVFormatContext *s, int write_header)
&s->interrupt_callback, NULL)) < 0)
return err;
if (oc->oformat->priv_class && oc->priv_data)
av_opt_set(oc->priv_data, "resend_headers", "1", 0);
if (write_header) {
if ((err = avformat_write_header(oc, NULL)) < 0)
return err;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment