improved PARENTALRATING patch detection was missing in this branch

This commit is contained in:
schmirl 2009-10-13 06:48:23 +00:00
parent 824a192579
commit 98d20a98bb
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
VDR Plugin 'streamdev' Revision History VDR Plugin 'streamdev' Revision History
--------------------------------------- ---------------------------------------
- improved PARENTALRATING patch detection was missing in this branch
- silenced warnings concerning asprintf (requested by Rolf Ahrenberg) - silenced warnings concerning asprintf (requested by Rolf Ahrenberg)
- don't update recordings list on CmdPLAY (reported by BBlack) - don't update recordings list on CmdPLAY (reported by BBlack)
- adapted and included xmbc patch for VDR 1.4.x - adapted and included xmbc patch for VDR 1.4.x

View File

@ -1,5 +1,5 @@
/* /*
* $Id: connectionVTP.c,v 1.18.2.4 2009/10/13 06:38:58 schmirl Exp $ * $Id: connectionVTP.c,v 1.18.2.5 2009/10/13 06:48:23 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
@ -282,7 +282,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;
@ -297,7 +297,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())) {