mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	gst/pipewirepool: change acquire/release to log messages
The messages are printed for every buffer. Therefore, they should be log messages. Also add the bufferpool to the message to be able to identify the bufferpool that handles the buffers.
This commit is contained in:
		
							parent
							
								
									5f916d8a2d
								
							
						
					
					
						commit
						49b971b5b1
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -182,7 +182,7 @@ acquire_buffer (GstBufferPool * pool, GstBuffer ** buffer,
 | 
				
			||||||
  *buffer = data->buf;
 | 
					  *buffer = data->buf;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  GST_OBJECT_UNLOCK (pool);
 | 
					  GST_OBJECT_UNLOCK (pool);
 | 
				
			||||||
  GST_DEBUG ("acquire buffer %p", *buffer);
 | 
					  GST_LOG_OBJECT (pool, "acquire buffer %p", buffer);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  return GST_FLOW_OK;
 | 
					  return GST_FLOW_OK;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -251,7 +251,7 @@ flush_start (GstBufferPool * pool)
 | 
				
			||||||
static void
 | 
					static void
 | 
				
			||||||
release_buffer (GstBufferPool * pool, GstBuffer *buffer)
 | 
					release_buffer (GstBufferPool * pool, GstBuffer *buffer)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  GST_DEBUG ("release buffer %p", buffer);
 | 
					  GST_LOG_OBJECT (pool, "release buffer %p", buffer);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static gboolean
 | 
					static gboolean
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue