mirror of
				https://github.com/k4yt3x/video2x.git
				synced 2025-11-04 06:31:00 +01:00 
			
		
		
		
	fixed waifu2x-caffe pixel format check typo
This commit is contained in:
		
							parent
							
								
									ab2f982a84
								
							
						
					
					
						commit
						a83249c670
					
				@ -479,7 +479,7 @@ class Upscaler:
 | 
				
			|||||||
                    framerate = float(Fraction(video_info['streams'][video_stream_index]['r_frame_rate']))
 | 
					                    framerate = float(Fraction(video_info['streams'][video_stream_index]['r_frame_rate']))
 | 
				
			||||||
                    fm.pixel_format = video_info['streams'][video_stream_index]['pix_fmt']
 | 
					                    fm.pixel_format = video_info['streams'][video_stream_index]['pix_fmt']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    if self.driver == 'waifu2x-caffe':
 | 
					                    if self.driver == 'waifu2x_caffe':
 | 
				
			||||||
                        # get a dict of all pixel formats and corresponding bit depth
 | 
					                        # get a dict of all pixel formats and corresponding bit depth
 | 
				
			||||||
                        pixel_formats = fm.get_pixel_formats()
 | 
					                        pixel_formats = fm.get_pixel_formats()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user