@@ -365,7 +365,7 @@ Enable Low-latency HLS(LHLS). Adds #EXT-X-PREFETCH tag with current segment's UR
Apple doesn't have an official spec for LHLS. Meanwhile hls.js player folks are
trying to standardize a open LHLS spec. The draft spec is available in https://github.com/video-dev/hlsjs-rfcs/blob/lhls-spec/proposals/0001-lhls.md
This option will also try to comply with the above open spec, till Apple's spec officially supports it.
-Applicable only when @var{streaming} and @var{hls_playlist} options are enabled.
+Enabling @var{streaming} and @var{hls_playlist} options automatically.
This is an experimental feature.
@item ldash @var{ldash}
@@ -1396,13 +1396,13 @@ static int dash_init(AVFormatContext *s)
}
if (c->lhls && !c->streaming) {
- av_log(s, AV_LOG_WARNING, "LHLS option will be ignored as streaming is not enabled\n");
- c->lhls = 0;
+ av_log(s, AV_LOG_WARNING, "Enabling streaming as LHLS is enabled\n");
+ c->streaming = 1;
}
if (c->lhls && !c->hls_playlist) {
- av_log(s, AV_LOG_WARNING, "LHLS option will be ignored as hls_playlist is not enabled\n");
- c->lhls = 0;
+ av_log(s, AV_LOG_INFO, "Enabling hls_playlist as LHLS is enabled\n");
+ c->hls_playlist = 1;
}
if (c->ldash && !c->streaming) {