[Jingle] Reduce CPU and bandwidth usage with videotestsrc by fixing framerate
This commit is contained in:
		
							parent
							
								
									bf8347e931
								
							
						
					
					
						commit
						800e87d5e9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -79,7 +79,7 @@ class VideoInputManager(DeviceManager):
 | 
				
			||||||
        self.devices = {}
 | 
					        self.devices = {}
 | 
				
			||||||
        # Test src
 | 
					        # Test src
 | 
				
			||||||
        self.detect_element('videotestsrc', _('Video test'),
 | 
					        self.detect_element('videotestsrc', _('Video test'),
 | 
				
			||||||
                '%s is-live=true')
 | 
					                '%s is-live=true ! video/x-raw-yuv,framerate=10/1')
 | 
				
			||||||
        # Auto src
 | 
					        # Auto src
 | 
				
			||||||
        self.detect_element('autovideosrc', _('Autodetect'))
 | 
					        self.detect_element('autovideosrc', _('Autodetect'))
 | 
				
			||||||
        # V4L2 src
 | 
					        # V4L2 src
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue