mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	v4l2: set buffer id correctly
This commit is contained in:
		
							parent
							
								
									66bab1d9b2
								
							
						
					
					
						commit
						62672f4d23
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1346,6 +1346,7 @@ mmap_init(struct impl *this,
 | 
			
		|||
		}
 | 
			
		||||
 | 
			
		||||
		b = &port->buffers[i];
 | 
			
		||||
		b->id = i;
 | 
			
		||||
		b->outbuf = buffers[i];
 | 
			
		||||
		b->flags = BUFFER_FLAG_OUTSTANDING;
 | 
			
		||||
		b->h = spa_buffer_find_meta_data(buffers[i], SPA_META_Header, sizeof(*b->h));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue