summaryrefslogtreecommitdiff
blob: 4a6c9570a14183dbb95aace40a79d84ea13133ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Add switch to enable A52 DRC Support

written by
Sebastian Kemper <sebastian_ml@gmx.net> ( 14 Jul 2006 )
update
Joerg Bornkessel <hd_brummy@gentoo.org> ( 19 Jul 2006 )
Index: dvd-cvs-20070819/i18n.c
===================================================================
--- dvd-cvs-20070819.orig/i18n.c
+++ dvd-cvs-20070819/i18n.c
@@ -408,5 +408,30 @@ const tI18nPhrase DvdPhrases[] = {
         "Se�ilen audio ses bulunamad�!"                     // T�rk�e
 #endif
     },
+	{
+		"Setup.DVD$A52 DRC",
+		"A52 DRC",                                             // Deutsch
+		"A52 DRC",                                             // Slovenski
+		"A52 DRC",                                             // Italiano
+		"A52 DRC",                                             // Nederlands
+		"A52 DRC",                                             // Portugus
+		"A52 DRC",                                             // Franais
+		"A52 DRC",                                             // Norsk
+		"A52 DRC",                                             // suomi
+		"A52 DRC",                                             // Polski
+		"A52 DRC",                                             // Espanol
+		"A52 DRC",                                             // �������� (Greek)
+		"A52 DRC",                                             // Svenska
+		"A52 DRC",                                             // Romaneste
+		"A52 DRC",                                             // Magyar
+		"A52 DRC",                                             // Catal
+		"A52 DRC",                                             // ������� (Russian)
+		"A52 DRC",                                             // Hrvatski (Croatian)
+		"A52 DRC",                                             // Eesti
+		"A52 DRC",                                             // Dansk
+#if VDRVERSNUM >= 10342
+		"A52 DRC",												// Czech
+#endif	
+    },
     { NULL }
 };
Index: dvd-cvs-20070819/setup-dvd.c
===================================================================
--- dvd-cvs-20070819.orig/setup-dvd.c
+++ dvd-cvs-20070819/setup-dvd.c
@@ -34,7 +34,7 @@ cDVDSetup::cDVDSetup(void)
     ReadAHead     = 0;
     Gain          = 4;
 
-    AC3dynrng     = 0;
+    AC3dynrng     = 1;
 }
 
 bool cDVDSetup::SetupParse(const char *Name, const char *Value)
@@ -48,6 +48,7 @@ bool cDVDSetup::SetupParse(const char *N
     else if (!strcasecmp(Name, "HideMainMenu"))  HideMainMenu  = atoi(Value);
     else if (!strcasecmp(Name, "ReadAHead"))     ReadAHead     = atoi(Value);
     else if (!strcasecmp(Name, "Gain"))          Gain          = atoi(Value);
+	else if (!strcasecmp(Name, "AC3dynrng"))     AC3dynrng     = atoi(Value);
     else
 	return false;
     return true;
@@ -73,6 +74,7 @@ cMenuSetupDVD::cMenuSetupDVD(void)
     Add(new cMenuEditBoolItem(tr("Setup.DVD$Hide Mainmenu Entry"),         &data.HideMainMenu));
     Add(new cMenuEditBoolItem(tr("Setup.DVD$ReadAHead"),                   &data.ReadAHead));
     Add(new cMenuEditIntItem( tr("Setup.DVD$Gain (analog)"),               &data.Gain, 0, 10));
+	Add(new cMenuEditBoolItem(tr("Setup.DVD$A52 DRC"),                     &data.AC3dynrng));
 }
 
 void cMenuSetupDVD::Store(void)
@@ -86,6 +88,7 @@ void cMenuSetupDVD::Store(void)
     SetupStore("HideMainMenu",  DVDSetup.HideMainMenu  );
     SetupStore("ReadAHead",     DVDSetup.ReadAHead  );
     SetupStore("Gain",          DVDSetup.Gain  );
+	SetupStore("AC3dynrng",     DVDSetup.AC3dynrng  );
 }