Merge commit 'f7b240434c'
* commit 'f7b240434c':
segment: Set the resend_headers flag for each segment
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
b26cbf75bc
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue