mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed getting the file size and number of frames of ongoing recordings
This commit is contained in:
		| @@ -4,7 +4,7 @@ | ||||
|  * See the main source file 'vdr.c' for copyright information and | ||||
|  * how to reach the author. | ||||
|  * | ||||
|  * $Id: recording.h 2.35 2012/09/05 11:25:33 kls Exp $ | ||||
|  * $Id: recording.h 2.36 2012/09/06 09:59:11 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #ifndef __RECORDING_H | ||||
| @@ -280,7 +280,6 @@ private: | ||||
|   static void AddToIndexList(const cIndexFile *IndexFile); | ||||
|   static void RemoveFromIndexList(const cIndexFile *IndexFile); | ||||
|   static bool IsInIndexList(const cIndexFile *IndexFile); | ||||
|   static cString IndexFileName(const char *FileName, bool IsPesRecording); | ||||
|   void ConvertFromPes(tIndexTs *IndexTs, int Count); | ||||
|   void ConvertToPes(tIndexTs *IndexTs, int Count); | ||||
|   bool CatchUp(int Index = -1); | ||||
| @@ -300,6 +299,7 @@ public: | ||||
|   static int GetLength(const char *FileName, bool IsPesRecording = false); | ||||
|        ///< Calculates the recording length (number of frames) without actually reading the index file. | ||||
|        ///< Returns -1 in case of error. | ||||
|   static cString IndexFileName(const char *FileName, bool IsPesRecording); | ||||
|   }; | ||||
|  | ||||
| class cFileName { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user