mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	update encoding log
This commit is contained in:
		
							parent
							
								
									8537cbe6c2
								
							
						
					
					
						commit
						a4f1c264b0
					
				@ -1033,7 +1033,7 @@ namespace MediaBrowser.Api.Playback
 | 
			
		||||
            process.BeginOutputReadLine();
 | 
			
		||||
 | 
			
		||||
            // Important - don't await the log task or we won't be able to kill ffmpeg when the user stops playback
 | 
			
		||||
            StartStreamingLog(transcodingJob, state, process.StandardError.BaseStream, state.LogFileStream);
 | 
			
		||||
            Task.Run(() => StartStreamingLog(transcodingJob, state, process.StandardError.BaseStream, state.LogFileStream));
 | 
			
		||||
 | 
			
		||||
            // Wait for the file to exist before proceeeding
 | 
			
		||||
            while (!FileSystem.FileExists(state.WaitForPath ?? outputPath) && !transcodingJob.HasExited)
 | 
			
		||||
@ -1076,7 +1076,7 @@ namespace MediaBrowser.Api.Playback
 | 
			
		||||
            return true;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private async void StartStreamingLog(TranscodingJob transcodingJob, StreamState state, Stream source, Stream target)
 | 
			
		||||
        private async Task StartStreamingLog(TranscodingJob transcodingJob, StreamState state, Stream source, Stream target)
 | 
			
		||||
        {
 | 
			
		||||
            try
 | 
			
		||||
            {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user