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

Fixed switching audio tracks in 'Transfer Mode' on the primary DVB device (cont'd)

This commit is contained in:
Klaus Schmidinger 2002-10-26 11:11:42 +02:00
parent 2f89413ca4
commit ffb6153326

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 1.28 2002/10/26 10:53:20 kls Exp $ * $Id: dvbdevice.c 1.29 2002/10/26 11:11:42 kls Exp $
*/ */
#include "dvbdevice.h" #include "dvbdevice.h"
@ -772,7 +772,7 @@ int cDvbDevice::NumAudioTracksDevice(void) const
int n = 0; int n = 0;
if (aPid1) if (aPid1)
n++; n++;
if (aPid2 && aPid1 != aPid2) if (!Ca() && aPid2 && aPid1 != aPid2) // a Ca recording session blocks switching live audio tracks
n++; n++;
return n; return n;
} }