diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-05 16:30:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-05 16:30:34 +0200 |
commit | b26cbf75bc80a972883c617b884f7616db5cee99 (patch) | |
tree | d886621552ba2fde6c43841f1c9816e27610a2a1 | |
parent | 50c555e3966371f3db6ab4aeb19404094e351e4e (diff) | |
parent | f7b240434c015056bc6319ddbdb8483757cc13e2 (diff) | |
download | ffmpeg-b26cbf75bc80a972883c617b884f7616db5cee99.tar.gz |
Merge commit 'f7b240434c015056bc6319ddbdb8483757cc13e2'
* commit 'f7b240434c015056bc6319ddbdb8483757cc13e2':
segment: Set the resend_headers flag for each segment
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/segment.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c index 23d68fde70..2557f872e8 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -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; |