[FFmpeg-devel] [PATCH 3/3] avformat/dashenc: include an availabilityTimeComplete element in all streaming modes
James Almer
jamrial at gmail.com
Sun Jan 19 23:42:00 EET 2020
It's not exclusive for Low Latency streaming. The muxer will serve partial
segments in standard streaming mode as well
Signed-off-by: James Almer <jamrial at gmail.com>
---
libavformat/dashenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 30fe7a538c..9b83733a58 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -665,7 +665,7 @@ static void output_segment_list(OutputStream *os, AVIOContext *out, AVFormatCont
avio_printf(out, "availabilityTimeOffset=\"%.3f\" ",
os->availability_time_offset);
}
- if (c->ldash && !final && os->frag_type != FRAG_TYPE_NONE &&
+ if (c->streaming && !final && os->frag_type != FRAG_TYPE_NONE &&
(os->frag_type != FRAG_TYPE_DURATION || os->frag_duration != os->seg_duration))
avio_printf(out, "availabilityTimeComplete=\"false\" ");
--
2.24.1
More information about the ffmpeg-devel
mailing list