From 0686038af36be65b666bce669957c4d94c13f409 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 27 Apr 2003 18:00:00 +0200 Subject: Version 1.1.29 - Fixed detecting broken connection to the LIRC daemon (thanks to Ludwig Nussel). - Now sending CA descriptors to the CAM in the same sequence as they were originally received (thanks to Stefan Huelswitt). - The PCR PID can now be set separately from the video PID. The syntax in the 'channels.conf' file is, for example, ...:164+17:..., where 164 is the video PID and 17 is the PCR PID. The separator is a '+' sign, not a comma or semicolon as with the audio PIDs, because this is not an alternate PID, but rather an additional, necessary PID. In order to use this feature you need a driver version dated 2003-04-27 or higher (setting the PCR PID didn't work in earlier versions). - Fixed deleting the last recording in the "Recordings" menu, which started pausing live video (thanks to Christoph Friederich for reporting this one). - Now setting the "broken link" flag for GOPs at the beginning of a new video sequence, which avoids artefacts when cutting (thanks to Stefan Huelswitt). - Removed the Mute() call from cDvbDevice::StillPicture() (suggested by Andreas Schultz). - Updated 'channels.conf.terr' for Berlin (thanks to Andreas Brachold). - Extended logging info when starting/stopping timers to show the channel number, start/stop time and the file name (suggested by Manuel Hartl). - Added a note regarding non-VDR files in the /videoX directories to INSTALL (suggested by Benjamin Harling). - Skipping keys that come in too fast from LIRC (thanks to Christian Jacobsen). - Avoiding short display of the main menu if a plugin displays its own OSD and is started through a user defined key macro (thanks to Andreas Mair for reporting this one). - Reduced the time to wait for EPG data when starting a recording to 3 seconds. - The new SVDRP command STAT can be used to request information about the disk usage (thanks to Thomas Koch). - Fixed faulty calculation of section length in eit.c (thanks to Teemu Rantanen). --- ringbuffer.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ringbuffer.c') diff --git a/ringbuffer.c b/ringbuffer.c index 9eecbba..6913c71 100644 --- a/ringbuffer.c +++ b/ringbuffer.c @@ -7,7 +7,7 @@ * Parts of this file were inspired by the 'ringbuffy.c' from the * LinuxDVB driver (see linuxtv.org). * - * $Id: ringbuffer.c 1.14 2003/02/15 13:21:50 kls Exp $ + * $Id: ringbuffer.c 1.15 2003/04/27 09:54:32 kls Exp $ */ #include "ringbuffer.h" @@ -142,9 +142,9 @@ int cRingBufferLinear::Put(const uchar *Data, int Count) return Count; } -const uchar *cRingBufferLinear::Get(int &Count) +uchar *cRingBufferLinear::Get(int &Count) { - const uchar *p = NULL; + uchar *p = NULL; Lock(); if (getThreadPid < 0) getThreadPid = getpid(); @@ -224,7 +224,7 @@ cRingBufferFrame::~cRingBufferFrame() void cRingBufferFrame::Clear(void) { Lock(); - const cFrame *p; + cFrame *p; while ((p = Get()) != NULL) Drop(p); Unlock(); @@ -252,7 +252,7 @@ bool cRingBufferFrame::Put(cFrame *Frame) return false; } -const cFrame *cRingBufferFrame::Get(void) +cFrame *cRingBufferFrame::Get(void) { Lock(); cFrame *p = head ? head->next : NULL; @@ -260,13 +260,13 @@ const cFrame *cRingBufferFrame::Get(void) return p; } -void cRingBufferFrame::Delete(const cFrame *Frame) +void cRingBufferFrame::Delete(cFrame *Frame) { currentFill -= Frame->Count(); delete Frame; } -void cRingBufferFrame::Drop(const cFrame *Frame) +void cRingBufferFrame::Drop(cFrame *Frame) { Lock(); if (head) { -- cgit v1.2.3