[FFmpeg-devel,V1,2/2] doc/muxers: fix and update docs for hls_playlist_type

Submitted by Jun Zhao on June 16, 2019, 11:42 a.m.

Details

Message ID 1560685373-32088-2-git-send-email-mypopydev@gmail.com
State New
Headers show

Commit Message

Jun Zhao June 16, 2019, 11:42 a.m.
From: Jun Zhao <barryjzhao@tencent.com>

fix and update docs for hls_playlist_type

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
---
 doc/muxers.texi |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/doc/muxers.texi b/doc/muxers.texi
index 50147c4..b2fbe3f 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -896,14 +896,26 @@  before they have been added to the m3u8 playlist.
 
 @end table
 
-@item hls_playlist_type event
+@item hls_playlist_type @var{int}
+Set the HLS playlist type, Default value is none.
+
+Possible values:
+@table @option
+
+@item none (default)
+NOT contain the EXT-X-PLAYLIST-TYPE tag, usually in the Live playlist, that
+tag allows Media Segments to be removed.
+
+@item event
 Emit @code{#EXT-X-PLAYLIST-TYPE:EVENT} in the m3u8 header. Forces
 @option{hls_list_size} to 0; the playlist can only be appended to.
 
-@item hls_playlist_type vod
+@item vod
 Emit @code{#EXT-X-PLAYLIST-TYPE:VOD} in the m3u8 header. Forces
 @option{hls_list_size} to 0; the playlist must not change.
 
+@end table
+
 @item method
 Use the given HTTP method to create the hls files.
 @example