mirror of
				https://github.com/devine-dl/devine.git
				synced 2025-11-04 11:54:50 +00:00 
			
		
		
		
	HLS: Update first segment of EXT-X-KEY state data on discontinuity
This commit is contained in:
		
							parent
							
								
									e26e55caf3
								
							
						
					
					
						commit
						323577a5fd
					
				@ -412,6 +412,8 @@ class HLS:
 | 
				
			|||||||
                discon_i += 1
 | 
					                discon_i += 1
 | 
				
			||||||
                range_offset = 0  # TODO: Should this be reset or not?
 | 
					                range_offset = 0  # TODO: Should this be reset or not?
 | 
				
			||||||
                map_data = None
 | 
					                map_data = None
 | 
				
			||||||
 | 
					                if encryption_data:
 | 
				
			||||||
 | 
					                    encryption_data = (i, encryption_data[1], encryption_data[2])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if segment.init_section and (not map_data or segment.init_section != map_data[0]):
 | 
					            if segment.init_section and (not map_data or segment.init_section != map_data[0]):
 | 
				
			||||||
                if segment.init_section.byterange:
 | 
					                if segment.init_section.byterange:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user