]> git.sesse.net Git - ffmpeg/commitdiff
avformat/hls: correct grammatical errors of m3u8_hold_counters option
authorSteven Liu <lq@chinaffmpeg.org>
Wed, 27 Nov 2019 11:04:00 +0000 (19:04 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Wed, 27 Nov 2019 11:04:00 +0000 (19:04 +0800)
Suggested-by: Gyan <ffmpeg@gyani.pro>
Suggested-by: Rodney Baker <rodney.baker@iinet.net.au>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
doc/demuxers.texi
libavformat/hls.c

index 4e1a5cb6aa2599446597cc8abf10fbe867492a2b..0d13bdd1b309542fce7a3a03d68ef70b4acf7c92 100644 (file)
@@ -332,7 +332,7 @@ Maximum number of times a insufficient list is attempted to be reloaded.
 Default value is 1000.
 
 @item m3u8_hold_counters
-Maximum number of times to load m3u8 when the m3u8 dose not refresh with new segments.
+The maximum number of times to load m3u8 when it refreshes without new segments.
 Default value is 1000.
 
 @item http_persistent
index 0b1582b2b5888231c3c15797aa235940eb25ef46..21353bbad7524cf3a90b638f9c19fdea8016d3ee 100644 (file)
@@ -2332,7 +2332,7 @@ static const AVOption hls_options[] = {
         INT_MIN, INT_MAX, FLAGS},
     {"max_reload", "Maximum number of times a insufficient list is attempted to be reloaded",
         OFFSET(max_reload), AV_OPT_TYPE_INT, {.i64 = 1000}, 0, INT_MAX, FLAGS},
-    {"m3u8_hold_counters", "Maximum number of times requests when the m3u8 file not be refresh",
+    {"m3u8_hold_counters", "The maximum number of times to load m3u8 when it refreshes without new segments",
         OFFSET(m3u8_hold_counters), AV_OPT_TYPE_INT, {.i64 = 1000}, 0, INT_MAX, FLAGS},
     {"http_persistent", "Use persistent HTTP connections",
         OFFSET(http_persistent), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, FLAGS },