Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] [PATCH] Add fix support for *_AUTO modes to scan VDR output



This patch fixes support for the various _AUTO frontend parameters to the scan VDR output format. VDR uses "999" to indicate the automatic mode for each parameter.

Please note that the INVERSION_AUTO (set by default in the recent scan code) breaks my DVB-T grundig-401 tuner, which will be the subject of my next posting.

Jon
Index: dump-vdr.c
===================================================================
RCS file: /cvs/linuxtv/DVB/apps/scan/dump-vdr.c,v
retrieving revision 1.1
diff -p -u -r1.1 dump-vdr.c
--- dump-vdr.c	5 May 2003 09:18:46 -0000	1.1
+++ dump-vdr.c	7 Jun 2003 11:56:44 -0000
@@ -6,7 +6,7 @@
 static const char *inv_name [] = {
 	"0",
 	"1",
-	"INVERSION_AUTO"
+	"999"
 };
 
 static const char *fec_name [] = {
@@ -19,7 +19,7 @@ static const char *fec_name [] = {
 	"67",
 	"78",
 	"89",
-	"FEC_AUTO"
+	"999"
 };
 
 
@@ -30,7 +30,7 @@ static const char *qam_name [] = {
 	"64",
 	"128",
 	"256",
-	"QAM_AUTO"
+	"999"
 };
 
 
@@ -38,14 +38,14 @@ static const char *bw_name [] = {
 	"8",
 	"7",
 	"6",
-	"BANDWIDTH_AUTO"
+	"999"
 };
 
 
 static const char *mode_name [] = {
 	"2",
 	"8",
-	"TRANSMISSION_MODE_AUTO"
+	"999"
 };
 
 static const char *guard_name [] = {
@@ -53,7 +53,7 @@ static const char *guard_name [] = {
 	"16",
 	"8",
 	"4",
-	"GUARD_INTERVAL_AUTO"
+	"999"
 };
 
 
@@ -62,7 +62,7 @@ static const char *hierarchy_name [] = {
 	"1",
 	"2",
 	"4",
-	"HIERARCHY_AUTO"
+	"999"
 };
 
 

Home | Main Index | Thread Index