mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
When selecting a device/CAM combination for live viewing, CAMs that are known to decrypt the requested channel are now given a higher priority than prefering the primary device
This commit is contained in:
parent
8e9d445248
commit
b76601482f
@ -3377,6 +3377,9 @@ Tony Houghton <h@realh.co.uk>
|
|||||||
Christian Winkler <winkler_chr@yahoo.de>
|
Christian Winkler <winkler_chr@yahoo.de>
|
||||||
for reporting a problem with transfer mode on full featured DVB cards for encrypted
|
for reporting a problem with transfer mode on full featured DVB cards for encrypted
|
||||||
channels that have no audio pid
|
channels that have no audio pid
|
||||||
|
for reporting a problem when selecting a device/CAM combination for live viewing, if
|
||||||
|
the CAM that is known to decrypt the requested channel can not be assigned to the
|
||||||
|
primary device
|
||||||
|
|
||||||
Dietmar Spingler <d_spingler@gmx.de>
|
Dietmar Spingler <d_spingler@gmx.de>
|
||||||
for reporting a problem that led to a fix in detaching receivers from devices in case
|
for reporting a problem that led to a fix in detaching receivers from devices in case
|
||||||
|
3
HISTORY
3
HISTORY
@ -9009,3 +9009,6 @@ Video Disk Recorder Revision History
|
|||||||
these objects.
|
these objects.
|
||||||
- cListObject now implements a private copy constructor and assignment operator, to keep
|
- cListObject now implements a private copy constructor and assignment operator, to keep
|
||||||
derived objects from calling them implicitly.
|
derived objects from calling them implicitly.
|
||||||
|
- When selecting a device/CAM combination for live viewing, CAMs that are known to decrypt
|
||||||
|
the requested channel are now given a higher priority than prefering the primary device
|
||||||
|
(reported by Christian Winkler).
|
||||||
|
3
device.c
3
device.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: device.c 4.17 2017/05/01 13:00:57 kls Exp $
|
* $Id: device.c 4.18 2017/05/09 09:03:14 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "device.h"
|
#include "device.h"
|
||||||
@ -293,6 +293,7 @@ cDevice *cDevice::GetDevice(const cChannel *Channel, int Priority, bool LiveView
|
|||||||
// to their individual severity, where the one listed first will make the most
|
// to their individual severity, where the one listed first will make the most
|
||||||
// difference, because it results in the most significant bit of the result.
|
// difference, because it results in the most significant bit of the result.
|
||||||
uint32_t imp = 0;
|
uint32_t imp = 0;
|
||||||
|
imp <<= 1; imp |= (LiveView && NumUsableSlots && !HasInternalCam) ? !ChannelCamRelations.CamDecrypt(Channel->GetChannelID(), CamSlots.Get(j)->MasterSlotNumber()) || ndr : 0; // prefer CAMs that are known to decrypt this channel for live viewing, if we don't need to detach existing receivers
|
||||||
imp <<= 1; imp |= LiveView ? !device[i]->IsPrimaryDevice() || ndr : 0; // prefer the primary device for live viewing if we don't need to detach existing receivers
|
imp <<= 1; imp |= LiveView ? !device[i]->IsPrimaryDevice() || ndr : 0; // prefer the primary device for live viewing if we don't need to detach existing receivers
|
||||||
imp <<= 1; imp |= !device[i]->Receiving() && (device[i] != cTransferControl::ReceiverDevice() || device[i]->IsPrimaryDevice()) || ndr; // use receiving devices if we don't need to detach existing receivers, but avoid primary device in local transfer mode
|
imp <<= 1; imp |= !device[i]->Receiving() && (device[i] != cTransferControl::ReceiverDevice() || device[i]->IsPrimaryDevice()) || ndr; // use receiving devices if we don't need to detach existing receivers, but avoid primary device in local transfer mode
|
||||||
imp <<= 1; imp |= device[i]->Receiving(); // avoid devices that are receiving
|
imp <<= 1; imp |= device[i]->Receiving(); // avoid devices that are receiving
|
||||||
|
Loading…
Reference in New Issue
Block a user