[FFmpeg-cvslog] avformat/dashenc: warn if Producer Reference Time element option is missing when ldash mode is used
James Almer
git at videolan.org
Mon Feb 17 17:53:14 EET 2020
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Feb 17 12:44:18 2020 -0300| [601d5744404990db92a0d6e13274a158cb13b157] | committer: James Almer
avformat/dashenc: warn if Producer Reference Time element option is missing when ldash mode is used
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=601d5744404990db92a0d6e13274a158cb13b157
---
libavformat/dashenc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 45885ac781..c89aa3a32c 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -1404,6 +1404,10 @@ static int dash_init(AVFormatContext *s)
c->write_prft = 0;
}
+ if (c->ldash && !c->write_prft) {
+ av_log(s, AV_LOG_WARNING, "Low Latency mode enabled without Producer Reference Time element option! Resulting manifest may not be complaint\n");
+ }
+
if (c->target_latency && !c->write_prft) {
av_log(s, AV_LOG_WARNING, "Target latency option will be ignored as Producer Reference Time element will not be written\n");
c->target_latency = 0;
More information about the ffmpeg-cvslog
mailing list