Mailing List archive

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

[vdr] Re: some patches for vdr-1.3.18 (SourceCaps, RO, timer-info)and plugins (femon, osdimage)



Andreas Brugger wrote:
Hi list!

Here some patches updated to work with vdr-1.3.18 and some plugin-patches respectively.

femon: should work in regular cases (dirty hack). I've disabled the green button so it is not possible to switch audio-channel within the plugin. Furthermore I changed

It appears that there are a few hunks missing from your femon patch (although my diff is against 0.1.7 and yours is against 0.1.6).

diff -ru vdr-1.3.17/PLUGINS/src/femon-0.1.7/femonreceiver.c femon-0.1.7/femonreceiver.c
--- vdr-1.3.17/PLUGINS/src/femon-0.1.7/femonreceiver.c 2004-11-27 18:20:00.000000000 -0800
+++ vdr-1.3.18/PLUGINS/src/femon-0.1.7/femonreceiver.c 2005-01-10 15:19:34.000000000 -0800
@@ -313,7 +313,7 @@
//printf("cFemonReceiver::Action()\n");
m_Active = true;
while (m_Active) {
- t0 = time_ms();
+ t0 = int(cTimeMs::Now());
// TS packet 188 bytes - 4 byte header; MPEG standard defines 1Mbit = 1000000bit
m_VideoBitrate = (8.0 * 184.0 * m_VideoPacketCount) / (femonConfig.calcinterval * 100000.0);
m_VideoPacketCount = 0;
@@ -321,6 +321,6 @@
m_AudioPacketCount = 0;
m_AC3Bitrate = (8.0 * 184.0 * m_AC3PacketCount) / (femonConfig.calcinterval * 100.0);
m_AC3PacketCount = 0;
- cCondWait::SleepMs(100 * femonConfig.calcinterval - (time_ms() - t0));
+ cCondWait::SleepMs(100 * femonConfig.calcinterval - (int(cTimeMs::Now()) - t0));
}
}




Home | Main Index | Thread Index