mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed 'Transfer Mode' to check for primary interface
This commit is contained in:
parent
e51a176875
commit
2a2919d053
6
HISTORY
6
HISTORY
@ -349,3 +349,9 @@ Video Disk Recorder Revision History
|
||||
- The EIT scanning thread is now locked when switching channels to avoid problems.
|
||||
- Encrypted channels can now be selected even without knowing the PNR (however, it
|
||||
is still necessary for the EPG info).
|
||||
|
||||
2001-01-20: Version 0.71
|
||||
|
||||
- Fixed 'Transfer Mode' in cases where a non-primary interface was switched to
|
||||
a channel that only the primary interface can receive (which could happen in
|
||||
the EPG scanner).
|
||||
|
4
dvbapi.c
4
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.50 2001/01/18 19:53:54 kls Exp $
|
||||
* $Id: dvbapi.c 1.51 2001/01/20 09:51:51 kls Exp $
|
||||
*/
|
||||
|
||||
#include "dvbapi.h"
|
||||
@ -2198,7 +2198,7 @@ bool cDvbApi::SetChannel(int ChannelNumber, int FrequencyMHz, char Polarization,
|
||||
currentChannel = ChannelNumber;
|
||||
// If this DVB card can't receive this channel, let's see if we can
|
||||
// use the card that actually can receive it and transfer data from there:
|
||||
if (Ca && Ca != Index() + 1) {
|
||||
if (this == PrimaryDvbApi && Ca && Ca != Index() + 1) {
|
||||
cDvbApi *CaDvbApi = GetDvbApi(Ca, 0);
|
||||
if (CaDvbApi) {
|
||||
if (!CaDvbApi->Recording()) {
|
||||
|
Loading…
Reference in New Issue
Block a user