mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	gst: Don't ask for DMA buffers
Gstreamer simply mmap()s the DMA buffers. This can be very very slow on some hardware, so don't ask for it. For gstreamer to support DMA buffers, it will need to support a proper way of transferring the buffers from the GPU to the CPU, e.g. using EGL/OpenGL.
This commit is contained in:
		
							parent
							
								
									263adb45f4
								
							
						
					
					
						commit
						15b4c58e80
					
				
					 2 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -254,7 +254,6 @@ pool_activated (GstPipeWirePool *pool, GstPipeWireSink *sink)
 | 
			
		|||
	      max_buffers ? max_buffers : INT32_MAX),
 | 
			
		||||
      SPA_PARAM_BUFFERS_align,   SPA_POD_Int(16),
 | 
			
		||||
      SPA_PARAM_BUFFERS_dataType, SPA_POD_CHOICE_FLAGS_Int(
 | 
			
		||||
						(1<<SPA_DATA_DmaBuf) |
 | 
			
		||||
						(1<<SPA_DATA_MemFd) |
 | 
			
		||||
						(1<<SPA_DATA_MemPtr)),
 | 
			
		||||
      0);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -839,7 +839,6 @@ on_param_changed (void *data, uint32_t id,
 | 
			
		|||
        SPA_PARAM_BUFFERS_stride,  SPA_POD_CHOICE_RANGE_Int(0, 0, INT32_MAX),
 | 
			
		||||
        SPA_PARAM_BUFFERS_align,   SPA_POD_Int(16),
 | 
			
		||||
        SPA_PARAM_BUFFERS_dataType, SPA_POD_CHOICE_FLAGS_Int(
 | 
			
		||||
						(1<<SPA_DATA_DmaBuf) |
 | 
			
		||||
						(1<<SPA_DATA_MemFd) |
 | 
			
		||||
						(1<<SPA_DATA_MemPtr)));
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue