mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	io: Add current video frame size to position
Add some padding, tweak some padding Remove count in the clock, it's useless For video frames we will want to use metadata to place this on individual buffers.
This commit is contained in:
		
							parent
							
								
									140203d5a3
								
							
						
					
					
						commit
						d94019ccd2
					
				
					 6 changed files with 23 additions and 15 deletions
				
			
		| 
						 | 
				
			
			@ -1186,7 +1186,6 @@ static int mmap_read(struct impl *this)
 | 
			
		|||
		this->clock->rate = port->rate;
 | 
			
		||||
		this->clock->position = buf.sequence;
 | 
			
		||||
		this->clock->duration = 1;
 | 
			
		||||
		this->clock->count = buf.sequence;
 | 
			
		||||
		this->clock->delay = 0;
 | 
			
		||||
		this->clock->rate_diff = 1.0;
 | 
			
		||||
		this->clock->next_nsec = pts + 1000000000LL / port->rate.denom;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue