mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	
							parent
							
								
									8b048279f1
								
							
						
					
					
						commit
						97ec1ce209
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -779,6 +779,12 @@ on_state_changed(void *userdata, enum pw_stream_state old,
 | 
				
			||||||
			printf("stream node %"PRIu32"\n",
 | 
								printf("stream node %"PRIu32"\n",
 | 
				
			||||||
				pw_stream_get_node_id(data->stream));
 | 
									pw_stream_get_node_id(data->stream));
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						if (state == PW_STREAM_STATE_ERROR) {
 | 
				
			||||||
 | 
							printf("stream node %"PRIu32" error: %s\n",
 | 
				
			||||||
 | 
									pw_stream_get_node_id(data->stream),
 | 
				
			||||||
 | 
									error);
 | 
				
			||||||
 | 
							pw_main_loop_quit(data->loop);
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void
 | 
					static void
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue