mirror of
				https://github.com/devine-dl/devine.git
				synced 2025-11-04 03:44:49 +00:00 
			
		
		
		
	Add mapping for Netflix profiles starting with h264
				
					
				
			e.g., the new -qc profiles.
This commit is contained in:
		
							parent
							
								
									e5e3f4687d
								
							
						
					
					
						commit
						f4122f1ae6
					
				@ -67,7 +67,7 @@ class Video(Track):
 | 
			
		||||
        @staticmethod
 | 
			
		||||
        def from_netflix_profile(profile: str) -> Video.Codec:
 | 
			
		||||
            profile = profile.lower().strip()
 | 
			
		||||
            if profile.startswith("playready-h264"):
 | 
			
		||||
            if profile.startswith(("h264", "playready-h264")):
 | 
			
		||||
                return Video.Codec.AVC
 | 
			
		||||
            if profile.startswith("hevc"):
 | 
			
		||||
                return Video.Codec.HEVC
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user