diff options
| -rw-r--r-- | HISTORY | 1 | ||||
| -rw-r--r-- | playlist.c | 4 | ||||
| -rw-r--r-- | playlist.h | 4 |
3 files changed, 9 insertions, 0 deletions
@@ -17,4 +17,5 @@ VDR Plugin 'playlist' Revision History Adds -fPIC to Makefile to fix potential FTBFS Support for the APIVERSION define as introduced in VDR-1.3.47 by Thomas Günther <tom@toms-cafe.de> Changes for VDR >= 1.3.25 and VDR >= 1.3.36 by viking at vdrportal.de + Changes for VDR >= 1.5.7 by Thomas Günther <tom@toms-cafe.de> @@ -159,7 +159,11 @@ cPluginPlaylist::cPluginPlaylist(void) // Initialize any member variables here. // DON'T DO ANYTHING ELSE THAT MAY HAVE SIDE EFFECTS, REQUIRE GLOBAL // VDR OBJECTS TO EXIST OR PRODUCE ANY OUTPUT! +#if VDRVERSNUM >= 10507 + OSDLanguage = NULL; +#else OSDLanguage = -1; +#endif PluginPlaylist = this; } @@ -139,7 +139,11 @@ void ExpandEnvironment(tParamFile *FileStruc); class cPluginPlaylist : public cPlugin { private: // Add any member variables or functions you may need here. +#if VDRVERSNUM >= 10507 + const char *OSDLanguage; +#else int OSDLanguage; +#endif void TestAndSetOSDLanguage(void); bool ProcessArg(int argc, char *argv[]); |
