Fixed high CPU usage on fast-playing recordings that have a dynamic end time
This commit is contained in:
		
							parent
							
								
									99907782ae
								
							
						
					
					
						commit
						280743051a
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		|  | @ -1379,12 +1379,6 @@ namespace Mist{ | |||
|   bool Output::prepareNext(){ | ||||
|     static size_t emptyCount = 0; | ||||
|     if (!buffer.size()){ | ||||
|       /// \TODO Do we really need this? Seems error-prone.
 | ||||
|       if (isRecording() && M.getLive()){ | ||||
|         selectDefaultTracks(); | ||||
|         initialSeek(); | ||||
|         return false; | ||||
|       } | ||||
|       thisPacket.null(); | ||||
|       INFO_MSG("Buffer completely played out"); | ||||
|       return true; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thulinma
						Thulinma