Plugins DVD and Dolby Digital

Message ID 472A11BB.7040206@club-internet.fr
State New
Headers

Commit Message

NIVAL Michaël Nov. 1, 2007, 5:49 p.m. UTC
  Hi,

With VDR-1.5.10 and cvs version plugins DVD, it is not possible to have
audio.

The syslog shows:
[4223] switching to pre 1.3.19 Dolby Digital compatibility mode

UseDolbyDigital is disabled.

The solution I have for the moment is to apply the patch that I put in
attachment.

Thanks for your help.
  

Comments

Rob Davis April 7, 2008, 7:51 a.m. UTC | #1
NIVAL Michaël wrote:
> Hi,
> 
> With VDR-1.5.10 and cvs version plugins DVD, it is not possible to have
> audio.
> 
> The syslog shows:
> [4223] switching to pre 1.3.19 Dolby Digital compatibility mode
> 
> UseDolbyDigital is disabled.
> 
> The solution I have for the moment is to apply the patch that I put in
> attachment.
> 

Is this still an issue on 1.6.0?  I have just got a FF card working and 
thought I'd try DVD playback for the first time ever, however, I have no 
audio on the FF Scart output.
  

Patch

diff -Nru vdr-1.5.10/device.c vdr-1.5.10-DVD/device.c
--- vdr-1.5.10/device.c	2007-10-14 15:09:19.000000000 +0200
+++ vdr-1.5.10-DVD/device.c	2007-11-01 18:11:45.000000000 +0100
@@ -1236,8 +1236,8 @@ 
                int PayloadOffset = Data[8] + 9;
 
                // Compatibility mode for old subtitles plugin:
-               if ((Data[PayloadOffset - 3] & 0x81) == 1 && Data[PayloadOffset - 2] == 0x81)
-                  PayloadOffset--;
+//               if ((Data[PayloadOffset - 3] & 0x81) == 1 && Data[PayloadOffset - 2] == 0x81)
+//                  PayloadOffset--;
 
                uchar SubStreamId = Data[PayloadOffset];
                uchar SubStreamType = SubStreamId & 0xF0;