#!/bin/sh /usr/share/dpatch/dpatch-run ## 10_stuttering.dpatch by Thomas Günther ## http://toms-cafe.de/vdr/download/femon-0.9.1-stuttering.diff ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Make femon compile if VDR is patched with stuttering patch. @DPATCH@ --- femon-0.9.0/femonosd.c +++ femon-0.9.0/femonosd.c @@ -1065,7 +1065,11 @@ cControl::Shutdown(); cDevice::GetDevice(device)->SwitchChannel(channel, true); // does this work with primary devices ? +#ifdef STUTTERINGVERSION + cControl::Launch(new cTransferControl(cDevice::GetDevice(device), channel->Vpid(), channel->Apids(), channel->Dpids(), channel->Spids(), channel->Caids())); +#else cControl::Launch(new cTransferControl(cDevice::GetDevice(device), channel->Vpid(), channel->Apids(), channel->Dpids(), channel->Spids())); +#endif cStatus::MsgChannelSwitch(cDevice::PrimaryDevice(), channel->Number()); break; }