mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Increased PLAYERBUFSIZE to (MAXFRAMESIZE * 5) to avoid stuttering replay under heavy system load, and to better document that this buffer size is related to the maximum frame size
This commit is contained in:
		
							
								
								
									
										5
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -9348,7 +9348,7 @@ Video Disk Recorder Revision History | ||||
|   Senzel). | ||||
| - Official release. | ||||
|  | ||||
| 2019-05-23: Version 2.4.1 | ||||
| 2019-05-27: Version 2.4.1 | ||||
|  | ||||
| - Fixed handling the tfRecording flag in the SVDRP commands MODT and UPDT (reported | ||||
|   by Johann Friedrichs). | ||||
| @@ -9409,3 +9409,6 @@ Video Disk Recorder Revision History | ||||
|   this is inappropriate; implicitly setting events to "not running" is now also logged. | ||||
| - Fixed asserting free disk space in case there is no local timer currently recording. | ||||
| - The default maximum size of a cPixmap has been raised to the maximum possible value. | ||||
| - Increased PLAYERBUFSIZE to (MAXFRAMESIZE * 5) to avoid stuttering replay under heavy | ||||
|   system load, and to better document that this buffer size is related to the maximum | ||||
|   frame size. | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: dvbplayer.c 4.5 2017/11/26 14:55:03 kls Exp $ | ||||
|  * $Id: dvbplayer.c 4.6 2019/05/27 13:54:19 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "dvbplayer.h" | ||||
| @@ -230,7 +230,7 @@ bool cNonBlockingFileReader::WaitForDataMs(int msToWait) | ||||
|  | ||||
| // --- cDvbPlayer ------------------------------------------------------------ | ||||
|  | ||||
| #define PLAYERBUFSIZE  MEGABYTE(1) | ||||
| #define PLAYERBUFSIZE  (MAXFRAMESIZE * 5) | ||||
|  | ||||
| #define RESUMEBACKUP 10 // number of seconds to back up when resuming an interrupted replay session | ||||
| #define MAXSTUCKATEOF 3 // max. number of seconds to wait in case the device doesn't play the last frame | ||||
|   | ||||
		Reference in New Issue
	
	Block a user