Commit 601d5744 authored by James Almer's avatar James Almer

avformat/dashenc: warn if Producer Reference Time element option is missing when ldash mode is used

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 55cbccbc
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment