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

Fixed handling IDLEPRIORITY in cDvbDevice::ProvidesChannel()

This commit is contained in:
Klaus Schmidinger 2012-03-25 10:44:04 +02:00
parent bf970b5bf4
commit 55b6ab1dc6
3 changed files with 6 additions and 3 deletions

View File

@ -2417,6 +2417,7 @@ Frank Schmirler <vdr@schmirler.de>
for fixing the German translation of "Folder name must not contain '%c'!" for fixing the German translation of "Folder name must not contain '%c'!"
for suggestions used in revising priority handling to allow receivers with a priority for suggestions used in revising priority handling to allow receivers with a priority
that is lower than that of live viewing that is lower than that of live viewing
for fixing handling IDLEPRIORITY in cDvbDevice::ProvidesChannel()
Jörn Reder <joern@zyn.de> Jörn Reder <joern@zyn.de>
for reporting that a recording may unnecessarily block a device with a CAM, while for reporting that a recording may unnecessarily block a device with a CAM, while

View File

@ -7010,7 +7010,7 @@ Video Disk Recorder Revision History
which is higher than any normal table id that is broadcast in the EIT data. which is higher than any normal table id that is broadcast in the EIT data.
See PLUGINS.html, section "Electronic Program Guide" for more information. See PLUGINS.html, section "Electronic Program Guide" for more information.
2012-03-20: Version 1.7.27 2012-03-25: Version 1.7.27
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Changed the Green button in the "Edit timer" menu from "Once" to "Single" - Changed the Green button in the "Edit timer" menu from "Once" to "Single"
@ -7049,3 +7049,5 @@ Video Disk Recorder Revision History
- Fixed reduced bpp support for DVB subtitles (thanks to Rolf Ahrenberg). - Fixed reduced bpp support for DVB subtitles (thanks to Rolf Ahrenberg).
- Updated the Italian OSD texts (thanks to Diego Pierotto). - Updated the Italian OSD texts (thanks to Diego Pierotto).
- Reverted some improvements to Make.config.template (thanks to Christian Ruppert). - Reverted some improvements to Make.config.template (thanks to Christian Ruppert).
- Fixed handling IDLEPRIORITY in cDvbDevice::ProvidesChannel() (thanks to Frank
Schmirler).

View File

@ -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: dvbdevice.c 2.68 2012/03/13 09:50:56 kls Exp $ * $Id: dvbdevice.c 2.69 2012/03/25 10:41:45 kls Exp $
*/ */
#include "dvbdevice.h" #include "dvbdevice.h"
@ -1448,7 +1448,7 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne
if (dvbTuner && ProvidesTransponder(Channel)) { if (dvbTuner && ProvidesTransponder(Channel)) {
result = hasPriority; result = hasPriority;
if (Priority >= 0) { if (Priority > IDLEPRIORITY) {
if (Receiving()) { if (Receiving()) {
if (dvbTuner->IsTunedTo(Channel)) { if (dvbTuner->IsTunedTo(Channel)) {
if (Channel->Vpid() && !HasPid(Channel->Vpid()) || Channel->Apid(0) && !HasPid(Channel->Apid(0)) || Channel->Dpid(0) && !HasPid(Channel->Dpid(0))) { if (Channel->Vpid() && !HasPid(Channel->Vpid()) || Channel->Apid(0) && !HasPid(Channel->Apid(0)) || Channel->Dpid(0) && !HasPid(Channel->Dpid(0))) {