From 9f5397b51006f7918c07217b98e91ced547eb6f6 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 2 Mar 2002 09:37:56 +0100 Subject: Fixed a deadlock when switching channels via Schedule/Now|Next/Switch --- dvbapi.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'dvbapi.c') diff --git a/dvbapi.c b/dvbapi.c index 55bc5731..c55142e1 100644 --- a/dvbapi.c +++ b/dvbapi.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbapi.c 1.152 2002/02/24 12:53:51 kls Exp $ + * $Id: dvbapi.c 1.153 2002/03/02 09:37:56 kls Exp $ */ #include "dvbapi.h" @@ -2238,9 +2238,6 @@ bool cDvbApi::SetPids(bool ForRecording) eSetChannelResult cDvbApi::SetChannel(int ChannelNumber, int Frequency, char Polarization, int Diseqc, int Srate, int Vpid, int Apid1, int Apid2, int Dpid1, int Dpid2, int Tpid, int Ca, int Pnr) { - // Make sure the siProcessor won't access the device while switching - cThreadLock ThreadLock(siProcessor); - StopTransfer(); StopReplay(); -- cgit v1.2.3