mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	media-session: only subscribe to readable params
This commit is contained in:
		
							parent
							
								
									6203fb967c
								
							
						
					
					
						commit
						13fd6be747
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -438,7 +438,8 @@ static void node_event_info(void *object, const struct pw_node_info *info)
 | 
				
			||||||
			case SPA_PARAM_PropInfo:
 | 
								case SPA_PARAM_PropInfo:
 | 
				
			||||||
			case SPA_PARAM_Props:
 | 
								case SPA_PARAM_Props:
 | 
				
			||||||
			case SPA_PARAM_EnumFormat:
 | 
								case SPA_PARAM_EnumFormat:
 | 
				
			||||||
				subscribe[n_subscribe++] = info->params[i].id;
 | 
									if (info->params[i].flags & SPA_PARAM_INFO_READ)
 | 
				
			||||||
 | 
										subscribe[n_subscribe++] = info->params[i].id;
 | 
				
			||||||
				break;
 | 
									break;
 | 
				
			||||||
			default:
 | 
								default:
 | 
				
			||||||
				break;
 | 
									break;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue