diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-04-12 14:14:07 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-04-12 14:14:07 +0200 |
commit | 9d17559caf8c61fc687f6d13f4dbf64f9b001e8d (patch) | |
tree | e8e98c429658d2bda7c8c7087080c5b0865d486e /device.c | |
parent | 0e5bc7773af3a654483b6525eb9ff494153c0cb8 (diff) | |
download | vdr-9d17559caf8c61fc687f6d13f4dbf64f9b001e8d.tar.gz vdr-9d17559caf8c61fc687f6d13f4dbf64f9b001e8d.tar.bz2 |
Fixed handling the counter in detection of pre 1.3.19 PS data
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 2.1 2008/04/12 11:15:32 kls Exp $ + * $Id: device.c 2.2 2008/04/12 14:12:14 kls Exp $ */ #include "device.h" @@ -1294,7 +1294,7 @@ int cDevice::PlayPesPacket(const uchar *Data, int Length, bool VideoOnly) uchar SubStreamIndex = SubStreamId & 0x1F; // Compatibility mode for old VDR recordings, where 0xBD was only AC3: -pre_1_3_19_PrivateStreamDeteced: +pre_1_3_19_PrivateStreamDetected: if (pre_1_3_19_PrivateStream > MIN_PRE_1_3_19_PRIVATESTREAM) { SubStreamId = c; SubStreamType = 0x80; @@ -1335,7 +1335,8 @@ pre_1_3_19_PrivateStreamDeteced: if (pre_1_3_19_PrivateStream > MIN_PRE_1_3_19_PRIVATESTREAM) { dsyslog("switching to pre 1.3.19 Dolby Digital compatibility mode - substream id = %02X", SubStreamId); ClrAvailableTracks(); - goto pre_1_3_19_PrivateStreamDeteced; + pre_1_3_19_PrivateStream = MIN_PRE_1_3_19_PRIVATESTREAM + 1; + goto pre_1_3_19_PrivateStreamDetected; } } } |