Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] vdr-1.3.6 & set system time



This little patch fixed the broken 'set system time from transponder'
feature in my setup. The _terrestial_ transponder was saved as Freguency
(Hz, kHz, MHz - in my case as Hz) and later it was compared against
Transponder (MHz) in eit.c.

--- menu.c.old	2004-04-05 23:26:52.000000000 +0300
+++ menu.c	2004-04-05 23:27:37.000000000 +0300
@@ -103,7 +103,7 @@
   transponder = *Value;
   cChannel *channel = Channels.First();
   while (channel) {
-        if (!channel->GroupSep() && ISTRANSPONDER(channel->Frequency(), *Value)) {
+        if (!channel->GroupSep() && ISTRANSPONDER(channel->Transponder(), *Value)) {
            number = channel->Number();
            break;
            }
@@ -121,7 +121,7 @@
   number = *value;
   cChannel *channel = Channels.GetByNumber(*value);
   if (channel)
-     transponder = channel->Frequency();
+     transponder = channel->Transponder();
   *value = transponder;
   return state;
 }

--
rofa


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index