demuxer
This commit is contained in:
		
							
								
								
									
										20
									
								
								mp4/codec.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								mp4/codec.py
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,20 @@
 | 
			
		||||
# RozK
 | 
			
		||||
 | 
			
		||||
class NullCodec:
 | 
			
		||||
    @property
 | 
			
		||||
    def name(self):
 | 
			
		||||
        return b"<None>"
 | 
			
		||||
 | 
			
		||||
class Codec:
 | 
			
		||||
    __slots__ = '_ref'
 | 
			
		||||
 | 
			
		||||
    def __init__(self, ref):
 | 
			
		||||
        self._ref = ref
 | 
			
		||||
 | 
			
		||||
    @property
 | 
			
		||||
    def _as_parameter_(self):
 | 
			
		||||
        return self._ref
 | 
			
		||||
 | 
			
		||||
    @property
 | 
			
		||||
    def name(self):
 | 
			
		||||
        return self._ref.contents.name
 | 
			
		||||
		Reference in New Issue
	
	Block a user