TREX box completed and added to interface
This commit is contained in:
		
							parent
							
								
									1ac23854b7
								
							
						
					
					
						commit
						b85be8b76c
					
				
					 7 changed files with 70 additions and 2 deletions
				
			
		
							
								
								
									
										16
									
								
								MP4/box_trex.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								MP4/box_trex.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,16 @@
 | 
			
		|||
#include "box.h"
 | 
			
		||||
 | 
			
		||||
class Box_trex {
 | 
			
		||||
  public:
 | 
			
		||||
    Box_trex( );
 | 
			
		||||
    ~Box_trex();
 | 
			
		||||
    Box * GetBox();
 | 
			
		||||
    void SetTrackID( uint32_t Id = 0 );
 | 
			
		||||
    void SetSampleDescriptionIndex( uint32_t Index = 0 );
 | 
			
		||||
    void SetSampleDuration( uint32_t Duration = 0 );
 | 
			
		||||
    void SetSampleSize( uint32_t Size = 0 );
 | 
			
		||||
  private:
 | 
			
		||||
    void SetReserved( );
 | 
			
		||||
    void SetDefaults( );
 | 
			
		||||
    Box * Container;
 | 
			
		||||
};//Box_ftyp Class
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue