The attached patch fix some problems when playing recordings greater than 2 GB.

Jose Alberto
--- vdr-1.7.4/dvbplayer.c	2009-01-25 12:11:39.000000000 +0100
+++ vdr-1.7.4.new/dvbplayer.c	2009-03-28 00:33:23.000000000 +0100
@@ -209,7 +209,7 @@
   cFrame *playFrame;
   void TrickSpeed(int Increment);
   void Empty(void);
-  bool NextFile(uchar FileNumber = 0, int FileOffset = -1);
+  bool NextFile(uint16_t FileNumber = 0, off_t FileOffset = -1);
   int Resume(void);
   bool Save(void);
 protected:
@@ -319,7 +319,7 @@
   firstPacket = true;
 }
 
-bool cDvbPlayer::NextFile(uchar FileNumber, int FileOffset)
+bool cDvbPlayer::NextFile(uint16_t FileNumber, off_t FileOffset)
 {
   if (FileNumber > 0)
      replayFile = fileName->SetOffset(FileNumber, FileOffset);
_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to