mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	gst: add some more debug
This commit is contained in:
		
							parent
							
								
									993aa89030
								
							
						
					
					
						commit
						0344e09905
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -897,11 +897,13 @@ gst_pipewire_src_create (GstPushSrc * psrc, GstBuffer ** buffer)
 | 
				
			||||||
      buf = pwsrc->last_buffer;
 | 
					      buf = pwsrc->last_buffer;
 | 
				
			||||||
      pwsrc->last_buffer = NULL;
 | 
					      pwsrc->last_buffer = NULL;
 | 
				
			||||||
      update_time = TRUE;
 | 
					      update_time = TRUE;
 | 
				
			||||||
 | 
					      GST_LOG_OBJECT (pwsrc, "EOS, send last buffer");
 | 
				
			||||||
      break;
 | 
					      break;
 | 
				
			||||||
    } else if (timeout) {
 | 
					    } else if (timeout) {
 | 
				
			||||||
      if (pwsrc->last_buffer != NULL) {
 | 
					      if (pwsrc->last_buffer != NULL) {
 | 
				
			||||||
        update_time = TRUE;
 | 
					        update_time = TRUE;
 | 
				
			||||||
        buf = gst_buffer_ref(pwsrc->last_buffer);
 | 
					        buf = gst_buffer_ref(pwsrc->last_buffer);
 | 
				
			||||||
 | 
					        GST_LOG_OBJECT (pwsrc, "timeout, send keepalive buffer");
 | 
				
			||||||
        break;
 | 
					        break;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue