mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	video-src: set buffer size
This commit is contained in:
		
							parent
							
								
									4851a827f4
								
							
						
					
					
						commit
						3c9eb13500
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -132,6 +132,8 @@ static void on_timeout(void *userdata, uint64_t expirations)
 | 
				
			||||||
	if (map)
 | 
						if (map)
 | 
				
			||||||
		munmap(map, buf->datas[0].maxsize + buf->datas[0].mapoffset);
 | 
							munmap(map, buf->datas[0].maxsize + buf->datas[0].mapoffset);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						buf->datas[0].chunk->size = buf->datas[0].maxsize;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pw_stream_send_buffer(data->stream, id);
 | 
						pw_stream_send_buffer(data->stream, id);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue