1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Locking EIT scanner when switching channels

This commit is contained in:
Klaus Schmidinger 2001-01-18 17:03:34 +01:00
parent c0fa83065d
commit 3ab1a86028
3 changed files with 6 additions and 4 deletions

View File

@ -312,9 +312,9 @@ Video Disk Recorder Revision History
an early state and may still cause some problems, but it appears to work nice
already.
2001-01-13: Version 0.70
2001-01-17: Version 0.70
- VDR now requires driver version 0.80 or higher.
- VDR now requires driver version 0.8.1 or higher.
- Recordings are now saved in PES mode. Note that you now need to install the
driver *WITHOUT* 'outstream=0'! This is the default when you 'make insmod' in
the DVB/driver directory.
@ -346,3 +346,4 @@ Video Disk Recorder Revision History
5 seconds.
- The current channel is now saved in the 'setup.conf' file when VDR is cancelled,
and will be restored next time it is started (thanks to Deti Fliegl).
- The EIT scanning thread is now locked when switching channels to avoid problems.

View File

@ -15,7 +15,7 @@ If you have the DVB driver source in a different location
you will have to change the definition of DVBDIR in the
Makefile.
This program requires the card driver version 0.80 or higher
This program requires the card driver version 0.8.1 or higher
to work properly. You need to load the dvb.o module *without* option
'outstream=0' (previous versions of VDR required this option to have
the driver supply the data in AV_PES format; as of version 0.70 VDR

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbapi.c 1.48 2001/01/14 10:15:26 kls Exp $
* $Id: dvbapi.c 1.49 2001/01/18 17:03:34 kls Exp $
*/
#include "dvbapi.h"
@ -2165,6 +2165,7 @@ void cDvbApi::Flush(void)
bool cDvbApi::SetChannel(int ChannelNumber, int FrequencyMHz, char Polarization, int Diseqc, int Srate, int Vpid, int Apid, int Ca, int Pnr)
{
if (videoDev >= 0) {
cThreadLock ThreadLock(siProcessor); // makes sure the siProcessor won't access the vbi-device while switching
StopTransfer();
SetPlayMode(videoDev, VID_PLAY_RESET);
struct frontend front;