You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +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:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user