mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avformat/dashenc: warn if Producer Reference Time element option is missing when ldash mode is used
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
55cbccbc2c
commit
601d574440
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user