mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed checking pids in case a channel has only Dolby Digital audio
This commit is contained in:
parent
9b68c100b2
commit
120fb54d49
3
HISTORY
3
HISTORY
@ -6960,7 +6960,7 @@ Video Disk Recorder Revision History
|
|||||||
which was made in version 1.1.10, so please report if this has any unwanted
|
which was made in version 1.1.10, so please report if this has any unwanted
|
||||||
side effects.
|
side effects.
|
||||||
|
|
||||||
2012-03-07: Version 1.7.26
|
2012-03-08: Version 1.7.26
|
||||||
|
|
||||||
- Now checking for NULL in cOsd::AddPixmap() (suggested by Christoph Haubrich).
|
- Now checking for NULL in cOsd::AddPixmap() (suggested by Christoph Haubrich).
|
||||||
- Fixed the German translation of "VDR will shut down in %s minutes" (thanks to
|
- Fixed the German translation of "VDR will shut down in %s minutes" (thanks to
|
||||||
@ -6993,3 +6993,4 @@ Video Disk Recorder Revision History
|
|||||||
broadcast Dolby Digital audio there were sometimes log entries like
|
broadcast Dolby Digital audio there were sometimes log entries like
|
||||||
"changing pids of channel ... from ... to ..." with no apparent difference
|
"changing pids of channel ... from ... to ..." with no apparent difference
|
||||||
between the old and new set of pids.
|
between the old and new set of pids.
|
||||||
|
- Fixed checking pids in case a channel has only Dolby Digital audio.
|
||||||
|
@ -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.66 2012/03/07 13:37:01 kls Exp $
|
* $Id: dvbdevice.c 2.67 2012/03/08 09:49:58 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbdevice.h"
|
#include "dvbdevice.h"
|
||||||
@ -1446,7 +1446,7 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne
|
|||||||
if (Priority >= 0) {
|
if (Priority >= 0) {
|
||||||
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))) {
|
if (Channel->Vpid() && !HasPid(Channel->Vpid()) || Channel->Apid(0) && !HasPid(Channel->Apid(0)) || Channel->Dpid(0) && !HasPid(Channel->Dpid(0))) {
|
||||||
if (CamSlot() && Channel->Ca() >= CA_ENCRYPTED_MIN) {
|
if (CamSlot() && Channel->Ca() >= CA_ENCRYPTED_MIN) {
|
||||||
if (CamSlot()->CanDecrypt(Channel))
|
if (CamSlot()->CanDecrypt(Channel))
|
||||||
result = true;
|
result = true;
|
||||||
|
4
vdr.c
4
vdr.c
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
* The project's page is at http://www.tvdr.de
|
* The project's page is at http://www.tvdr.de
|
||||||
*
|
*
|
||||||
* $Id: vdr.c 2.32 2012/03/06 12:14:17 kls Exp $
|
* $Id: vdr.c 2.33 2012/03/08 09:51:52 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
@ -761,7 +761,7 @@ int main(int argc, char *argv[])
|
|||||||
static time_t lastTime = 0;
|
static time_t lastTime = 0;
|
||||||
if ((!Menu || CheckHasProgramme) && Now - lastTime > MINCHANNELWAIT) { // !Menu to avoid interfering with the CAM if a CAM menu is open
|
if ((!Menu || CheckHasProgramme) && Now - lastTime > MINCHANNELWAIT) { // !Menu to avoid interfering with the CAM if a CAM menu is open
|
||||||
cChannel *Channel = Channels.GetByNumber(cDevice::CurrentChannel());
|
cChannel *Channel = Channels.GetByNumber(cDevice::CurrentChannel());
|
||||||
if (Channel && (Channel->Vpid() || Channel->Apid(0))) {
|
if (Channel && (Channel->Vpid() || Channel->Apid(0) || Channel->Dpid(0))) {
|
||||||
if (cDevice::GetDeviceForTransponder(Channel, LIVEPRIORITY) && Channels.SwitchTo(Channel->Number())) // try to switch to the original channel...
|
if (cDevice::GetDeviceForTransponder(Channel, LIVEPRIORITY) && Channels.SwitchTo(Channel->Number())) // try to switch to the original channel...
|
||||||
;
|
;
|
||||||
else if (LastTimerChannel > 0) {
|
else if (LastTimerChannel > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user