mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	@@ -103,7 +103,7 @@ def _parse_ts(ts):
 | 
			
		||||
    into an MPEG PES timestamp: a tick counter at 90 kHz resolution.
 | 
			
		||||
    """
 | 
			
		||||
    return 90 * sum(
 | 
			
		||||
        int(part or 0) * mult for part, mult in zip(ts.groups(), (3600_000, 60_000, 1000, 1)))
 | 
			
		||||
        int(part or 0) * mult for part, mult in zip(ts.groups(), (3600_000, 60_000, 1000, 1), strict=True))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def _format_ts(ts):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user