aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/hlsplaylist.h
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2019-06-02 22:03:17 +0800
committerSteven Liu <lq@chinaffmpeg.org>2019-06-14 10:53:23 +0800
commitfa7a6dbd7607ba34fba696b6b5a16a7b137ca96f (patch)
tree6133c5e65a8547298ac44fd9c0392c647b6fd422 /libavformat/hlsplaylist.h
parent4208b428c4730f86438ec777642c6e455845b670 (diff)
downloadffmpeg-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/hlsplaylist.h')
-rw-r--r--libavformat/hlsplaylist.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/hlsplaylist.h b/libavformat/hlsplaylist.h
index 54c93a3963..8d2d83b661 100644
--- a/libavformat/hlsplaylist.h
+++ b/libavformat/hlsplaylist.h
@@ -44,7 +44,7 @@ void ff_hls_write_stream_info(AVStream *st, AVIOContext *out,
char *codecs, char *ccgroup);
void ff_hls_write_playlist_header(AVIOContext *out, int version, int allowcache,
int target_duration, int64_t sequence,
- uint32_t playlist_type);
+ uint32_t playlist_type, int iframe_mode);
void ff_hls_write_init_file(AVIOContext *out, char *filename,
int byterange_mode, int64_t size, int64_t pos);
int ff_hls_write_file_entry(AVIOContext *out, int insert_discont,
@@ -52,7 +52,8 @@ int ff_hls_write_file_entry(AVIOContext *out, int insert_discont,
double duration, int round_duration,
int64_t size, int64_t pos, //Used only if HLS_SINGLE_FILE flag is set
char *baseurl, //Ignored if NULL
- char *filename, double *prog_date_time);
+ char *filename, double *prog_date_time,
+ int64_t video_keyframe_size, int64_t video_keyframe_pos, int iframe_mode);
void ff_hls_write_end_list (AVIOContext *out);
#endif /* AVFORMAT_HLSPLAYLIST_H_ */