release 0.0.5 trunk 0.0.5
authornathan
Sat, 29 Dec 2007 11:19:35 +0100
branchtrunk
changeset 8b5bd55cfd28f
parent 7 03dab767612f
child 9 23e350c6b6d9
release 0.0.5
HISTORY
Makefile
premiereepg.c
     1.1 --- a/HISTORY	Sat Dec 29 11:19:23 2007 +0100
     1.2 +++ b/HISTORY	Sat Dec 29 11:19:35 2007 +0100
     1.3 @@ -1,6 +1,10 @@
     1.4  VDR Plugin 'premiereepg' Revision History
     1.5  -----------------------------------------
     1.6  
     1.7 +21.03.2006: Version 0.0.5
     1.8 +- Fixed compiling for VDR < 1.3.18.
     1.9 +- Fixed compiling for VDR >= 1.3.43.
    1.10 +
    1.11  6.11.2005: Version 0.0.4
    1.12  - Added parsing for order & parental rating information (as in
    1.13    premiereepg2vdr-0.0.4). Both options can be switched in the plugin setup menu.
     2.1 --- a/Makefile	Sat Dec 29 11:19:23 2007 +0100
     2.2 +++ b/Makefile	Sat Dec 29 11:19:35 2007 +0100
     2.3 @@ -31,7 +31,7 @@
     2.4  ### The C++ compiler and options:
     2.5  
     2.6  CXX      ?= g++
     2.7 -CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual
     2.8 +CXXFLAGS ?= -O2 -fPIC -Wall -Woverloaded-virtual
     2.9  
    2.10  ### The directory environment:
    2.11  
     3.1 --- a/premiereepg.c	Sat Dec 29 11:19:23 2007 +0100
     3.2 +++ b/premiereepg.c	Sat Dec 29 11:19:35 2007 +0100
     3.3 @@ -49,7 +49,7 @@
     3.4  #define PMT_SCAN_TIMEOUT  10  // seconds
     3.5  #define PMT_SCAN_IDLE     300 // seconds
     3.6  
     3.7 -static const char *VERSION        = "0.0.4";
     3.8 +static const char *VERSION        = "0.0.5";
     3.9  static const char *DESCRIPTION    = "Parses extended Premiere EPG data";
    3.10  
    3.11  // --- cSetupPremiereEpg -------------------------------------------------------
    3.12 @@ -400,7 +400,11 @@
    3.13  }
    3.14  
    3.15  void CIT::Parse(void) {
    3.16 +#if VDRVERSNUM >= 10343
    3.17 +   int offset=0;
    3.18 +#else
    3.19     unsigned int offset=0;
    3.20 +#endif
    3.21     data.setPointerAndOffset<const cit>(s, offset);
    3.22     eventDescriptors.setData(data+offset,HILO(s->descriptors_loop_length));
    3.23  }
    3.24 @@ -756,7 +760,9 @@
    3.25                  }
    3.26  
    3.27                if(newEvent) pSchedule->AddEvent(pEvent);
    3.28 +#if VDRVERSNUM >= 10318
    3.29                pEvent->SetComponents(NULL);
    3.30 +#endif
    3.31                pEvent->FixEpgBugs();
    3.32                Modified=true;
    3.33                }