diff options
author | schmirl <schmirl> | 2009-07-02 06:03:50 +0000 |
---|---|---|
committer | schmirl <schmirl> | 2009-07-02 06:03:50 +0000 |
commit | dd09bfbb4525d974704451422bacb412719117e3 (patch) | |
tree | d85102c2741bc703544be193b12e8b27daf7b63c /server | |
parent | 460d5f068971cd2e3649fd7e20c80e1265a6e18d (diff) | |
download | vdr-plugin-streamdev-dd09bfbb4525d974704451422bacb412719117e3.tar.gz vdr-plugin-streamdev-dd09bfbb4525d974704451422bacb412719117e3.tar.bz2 |
improved PARENTALRATING patch detection (thanks to Rolf Ahrenberg)
Diffstat (limited to 'server')
-rw-r--r-- | server/connectionVTP.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/connectionVTP.c b/server/connectionVTP.c index 579cff2..6037ecc 100644 --- a/server/connectionVTP.c +++ b/server/connectionVTP.c @@ -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" @@ -37,7 +37,7 @@ enum eDumpModeStreamdev { dmsdAll, dmsdPresent, dmsdFollowing, dmsdAtTime, dmsdF class cLSTEHandler { private: -#ifdef USE_PARENTALRATING +#if defined(USE_PARENTALRATING) || defined(PARENTALRATINGCONTENTVERSNUM) enum eStates { Channel, Event, Title, Subtitle, Description, Vps, Content, EndEvent, EndChannel, EndEPG }; #else @@ -285,7 +285,7 @@ bool cLSTEHandler::Next(bool &Last) break; case Vps: -#ifdef USE_PARENTALRATING +#if defined(USE_PARENTALRATING) || defined(PARENTALRATINGCONTENTVERSNUM) m_State = Content; #else m_State = EndEvent; @@ -300,7 +300,7 @@ bool cLSTEHandler::Next(bool &Last) return Next(Last); break; -#ifdef USE_PARENTALRATING +#if defined(USE_PARENTALRATING) || defined(PARENTALRATINGCONTENTVERSNUM) case Content: m_State = EndEvent; if (!isempty(m_Event->GetContentsString())) { |