summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/playlist.c b/playlist.c
index 15270de..830ba90 100644
--- a/playlist.c
+++ b/playlist.c
@@ -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;
}