diff options
author | Steven Liu <lq@chinaffmpeg.org> | 2019-06-02 22:03:17 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-06-14 10:53:23 +0800 |
commit | fa7a6dbd7607ba34fba696b6b5a16a7b137ca96f (patch) | |
tree | 6133c5e65a8547298ac44fd9c0392c647b6fd422 /libavformat/dashenc.c | |
parent | 4208b428c4730f86438ec777642c6e455845b670 (diff) | |
download | ffmpeg-streaming-fa7a6dbd7607ba34fba696b6b5a16a7b137ca96f.zip ffmpeg-streaming-fa7a6dbd7607ba34fba696b6b5a16a7b137ca96f.tar.gz |
avformat/hlsenc: add EXT-X-I-FRAMES-ONLY tag support
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat/dashenc.c')
-rw-r--r-- | libavformat/dashenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 94b198c..3fd7e78 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -471,7 +471,7 @@ static void write_hls_media_playlist(OutputStream *os, AVFormatContext *s, } ff_hls_write_playlist_header(c->m3u8_out, 6, -1, target_duration, - start_number, PLAYLIST_TYPE_NONE); + start_number, PLAYLIST_TYPE_NONE, 0); ff_hls_write_init_file(c->m3u8_out, os->initfile, c->single_file, os->init_range_length, os->init_start_pos); @@ -491,7 +491,7 @@ static void write_hls_media_playlist(OutputStream *os, AVFormatContext *s, (double) seg->duration / timescale, 0, seg->range_length, seg->start_pos, NULL, c->single_file ? os->initfile : seg->file, - &prog_date_time); + &prog_date_time, 0, 0, 0); if (ret < 0) { av_log(os->ctx, AV_LOG_WARNING, "ff_hls_write_file_entry get error\n"); } |