mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	v4l2: add camera media.role
This commit is contained in:
		
							parent
							
								
									636c02d38b
								
							
						
					
					
						commit
						b01858931c
					
				
					 2 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -29,7 +29,6 @@
 | 
				
			||||||
#include <fcntl.h>
 | 
					#include <fcntl.h>
 | 
				
			||||||
#include <poll.h>
 | 
					#include <poll.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <libudev.h>
 | 
					 | 
				
			||||||
#include <asoundlib.h>
 | 
					#include <asoundlib.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <spa/support/log.h>
 | 
					#include <spa/support/log.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -325,6 +325,7 @@ static int impl_node_send_command(struct spa_node *node, const struct spa_comman
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const struct spa_dict_item info_items[] = {
 | 
					static const struct spa_dict_item info_items[] = {
 | 
				
			||||||
	{ "media.class", "Video/Source" },
 | 
						{ "media.class", "Video/Source" },
 | 
				
			||||||
 | 
						{ "media.role", "Camera" },
 | 
				
			||||||
	{ "node.pause-on-idle", "false" },
 | 
						{ "node.pause-on-idle", "false" },
 | 
				
			||||||
	{ "node.driver", "true" },
 | 
						{ "node.driver", "true" },
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue