mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Now initializing the isOnVideoDirectoryFileSystem member of cRecording when scanning the video directory
This commit is contained in:
parent
25e2dbf031
commit
8af9abbbb9
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();
|
||||
|
Loading…
Reference in New Issue
Block a user