Merge commit 'f7b240434c015056bc6319ddbdb8483757cc13e2'
* commit 'f7b240434c015056bc6319ddbdb8483757cc13e2': segment: Set the resend_headers flag for each segment Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
b26cbf75bc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user