Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Quoted
Original von steffx
hab eben mal die Änderungen vorgenommen.
Leider bekomme ich Probleme beim Kompilieren.
![]()
Source code
1 2 3 4 make[1]: Entering directory `/lab/src/vdr-1.3.30/PLUGINS/src/graphtft-0.0.8' g++ -O3 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"graphtft"' -DHAVE_IMLIB -I../../../include -I../../../../DVB/include -I. -I./imlibrenderer -I./imlibrenderer/fbrenderer -I./imlibrenderer/dvbrenderer -I./dfbrenderer -I/src -I/lab/lib/ffmpeg-0.4.8/libavcodec -o graphtft.o graphtft.c make[1]: *** No rule to make target `eitscan.h', needed by `display.o'. Stop. make[1]: Leaving directory `/lab/src/vdr-1.3.30/PLUGINS/src/graphtft-0.0.8'
hast Du ne Ahnung was da falsch läuft ?
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
@DPATCH@
--- graphtft-0.0.8/display.c
+++ graphtft-0.0.8/display.c
@@ -31,6 +31,7 @@
#endif
#include <vdr/menu.h>
+#include <vdr/eitscan.h>
#define SECONDS(x) ((x)*1000)
@@ -352,7 +353,7 @@
void cGraphTFTDisplay::ChannelSwitch(const cDevice *Device, int ChannelNumber)
{
d(5, "ChannelSwitch on %p: %d\n", Device, ChannelNumber);
- if (Device->IsPrimaryDevice() && _channel != ChannelNumber) {
+ if (Device->IsPrimaryDevice() && !EITScanner.UsesDevice(Device) && _channel != ChannelNumber) {
const cChannel *channel;
cMutexLock lock(&_mutex);
_channel = ChannelNumber;
|