mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-11-01 09:26:45 -07:00 
			
		
		
		
	Report no connect as error
This commit is contained in:
		@@ -160,7 +160,7 @@ class RtmpFD(FileDownloader):
 | 
				
			|||||||
        retval = run_rtmpdump(args)
 | 
					        retval = run_rtmpdump(args)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if retval == RD_NO_CONNECT:
 | 
					        if retval == RD_NO_CONNECT:
 | 
				
			||||||
            self.to_screen(u'[rtmpdump] Could not connect to RTMP server.')
 | 
					            self.report_error(u'[rtmpdump] Could not connect to RTMP server.')
 | 
				
			||||||
            return False
 | 
					            return False
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        while (retval == RD_INCOMPLETE or retval == RD_FAILED) and not test:
 | 
					        while (retval == RD_INCOMPLETE or retval == RD_FAILED) and not test:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user