mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Now initializing the isOnVideoDirectoryFileSystem member of cRecording when scanning the video directory
This commit is contained in:
		
							
								
								
									
										3
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								HISTORY
									
									
									
									
									
								
							| @@ -8252,3 +8252,6 @@ Video Disk Recorder Revision History | ||||
|     it shall implement the proper options in its plugin's SetupMenu() function. | ||||
| - Added support for "Pilot", "T2-System-Id" and "SISO/MISO" parameters (thanks to | ||||
|   Rolf Ahrenberg). | ||||
| - Now initializing the isOnVideoDirectoryFileSystem member of cRecording when | ||||
|   scanning the video directory, so that it won't cause a delay when opening the menu | ||||
|   on a system with a large number of recordings. | ||||
|   | ||||
| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: recording.c 3.16 2014/02/08 11:16:02 kls Exp $ | ||||
|  * $Id: recording.c 3.17 2014/03/16 10:59:04 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include "recording.h" | ||||
| @@ -1425,6 +1425,7 @@ bool cRecordings::ScanVideoDir(const char *DirName, bool Foreground, int LinkLev | ||||
|                     if (r->Name()) { | ||||
|                        r->NumFrames(); // initializes the numFrames member | ||||
|                        r->FileSizeMB(); // initializes the fileSizeMB member | ||||
|                        r->IsOnVideoDirectoryFileSystem(); // initializes the isOnVideoDirectoryFileSystem member | ||||
|                        if (deleted) | ||||
|                           r->deleted = time(NULL); | ||||
|                        Lock(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user