improved PARENTALRATING patch detection (thanks to Rolf Ahrenberg)

This commit is contained in:
schmirl 2009-07-02 06:03:50 +00:00
parent 460d5f0689
commit dd09bfbb45
2 changed files with 5 additions and 5 deletions

View File

@ -34,7 +34,7 @@ Rolf Ahrenberg
for replacing private members by cThread::Running()/Active() for replacing private members by cThread::Running()/Active()
for improving externremux script termination for improving externremux script termination
for fixing PAT repacker version field for fixing PAT repacker version field
for correcting LIMIKUUTIO patch detection for improving LIMIKUUTIO and PARENTALRATING patch detection
Rantanen Teemu Rantanen Teemu
for providing vdr-incompletesections.diff for providing vdr-incompletesections.diff

View File

@ -1,5 +1,5 @@
/* /*
* $Id: connectionVTP.c,v 1.21 2009/07/01 10:46:16 schmirl Exp $ * $Id: connectionVTP.c,v 1.22 2009/07/02 06:03:51 schmirl Exp $
*/ */
#include "server/connectionVTP.h" #include "server/connectionVTP.h"
@ -37,7 +37,7 @@ enum eDumpModeStreamdev { dmsdAll, dmsdPresent, dmsdFollowing, dmsdAtTime, dmsdF
class cLSTEHandler class cLSTEHandler
{ {
private: private:
#ifdef USE_PARENTALRATING #if defined(USE_PARENTALRATING) || defined(PARENTALRATINGCONTENTVERSNUM)
enum eStates { Channel, Event, Title, Subtitle, Description, Vps, Content, enum eStates { Channel, Event, Title, Subtitle, Description, Vps, Content,
EndEvent, EndChannel, EndEPG }; EndEvent, EndChannel, EndEPG };
#else #else
@ -285,7 +285,7 @@ bool cLSTEHandler::Next(bool &Last)
break; break;
case Vps: case Vps:
#ifdef USE_PARENTALRATING #if defined(USE_PARENTALRATING) || defined(PARENTALRATINGCONTENTVERSNUM)
m_State = Content; m_State = Content;
#else #else
m_State = EndEvent; m_State = EndEvent;
@ -300,7 +300,7 @@ bool cLSTEHandler::Next(bool &Last)
return Next(Last); return Next(Last);
break; break;
#ifdef USE_PARENTALRATING #if defined(USE_PARENTALRATING) || defined(PARENTALRATINGCONTENTVERSNUM)
case Content: case Content:
m_State = EndEvent; m_State = EndEvent;
if (!isempty(m_Event->GetContentsString())) { if (!isempty(m_Event->GetContentsString())) {