Skip to content

Commit

Permalink
don't hide everything in osd-files from older vdr
Browse files Browse the repository at this point in the history
  • Loading branch information
flensrocker committed Mar 12, 2012
1 parent 436919f commit b97dd04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 2 additions & 4 deletions osd.c
@@ -1,7 +1,5 @@
#include "osd.h" #include "osd.h"


#if VDRVERSNUM >= 10717

#include "common.h" #include "common.h"
#include "helper.h" #include "helper.h"
#include "monitor.h" #include "monitor.h"
Expand Down Expand Up @@ -49,6 +47,7 @@ void cDBusOsd::Flush(void)
bool write = false; bool write = false;
*/ */


#if VDRVERSNUM >= 10717
if (IsTrueColor()) { if (IsTrueColor()) {
LOCK_PIXMAPS; LOCK_PIXMAPS;
int left = Left(); int left = Left();
Expand Down Expand Up @@ -82,6 +81,7 @@ void cDBusOsd::Flush(void)
delete pm; delete pm;
} }
} }
#endif
/* /*
if (write) { if (write) {
gettimeofday(&end, &timeZone); gettimeofday(&end, &timeZone);
Expand Down Expand Up @@ -292,5 +292,3 @@ bool cDBusDispatcherOsd::OnIntrospect(DBusMessage *msg, cString &Data)
"</node>\n"; "</node>\n";
return true; return true;
} }

#endif
4 changes: 0 additions & 4 deletions osd.h
@@ -1,8 +1,6 @@
#ifndef __DBUS2VDR_OSD_H #ifndef __DBUS2VDR_OSD_H
#define __DBUS2VDR_OSD_H #define __DBUS2VDR_OSD_H


#if VDRVERSNUM >= 10717

#include "message.h" #include "message.h"


#include <vdr/osd.h> #include <vdr/osd.h>
Expand Down Expand Up @@ -138,5 +136,3 @@ class cDBusDispatcherOsd : public cDBusMessageDispatcher
}; };


#endif #endif

#endif

0 comments on commit b97dd04

Please sign in to comment.