mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed generating the index for recordings from channels that put a whole GOP into one payload unit; regenerating index file
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.9 2009/08/16 10:45:00 kls Exp $ | ||||
|  * $Id: recording.h 2.10 2009/11/21 16:12:55 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #ifndef __RECORDING_H | ||||
| @@ -220,6 +220,7 @@ public: | ||||
| #define MAXVIDEOFILESIZEDEFAULT MAXVIDEOFILESIZEPES | ||||
|  | ||||
| struct tIndexTs; | ||||
| class cIndexFileGenerator; | ||||
|  | ||||
| class cIndexFile { | ||||
| private: | ||||
| @@ -229,6 +230,7 @@ private: | ||||
|   tIndexTs *index; | ||||
|   bool isPesRecording; | ||||
|   cResumeFile resumeFile; | ||||
|   cIndexFileGenerator *indexFileGenerator; | ||||
|   cMutex mutex; | ||||
|   void ConvertFromPes(tIndexTs *IndexTs, int Count); | ||||
|   void ConvertToPes(tIndexTs *IndexTs, int Count); | ||||
| @@ -245,6 +247,7 @@ public: | ||||
|   int GetResume(void) { return resumeFile.Read(); } | ||||
|   bool StoreResume(int Index) { return resumeFile.Save(Index); } | ||||
|   bool IsStillRecording(void); | ||||
|   void Delete(void); | ||||
|   }; | ||||
|  | ||||
| class cFileName { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user