aboutsummaryrefslogtreecommitdiffstats
path: root/util/scan/dump-zap.c
diff options
context:
space:
mode:
authorDebian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>2006-06-03 13:12:54 +0200
committeretobi <git@e-tobi.net>2013-09-03 09:48:40 +0200
commit43dd9e25dce3963f25444533466ad1f8faa66e47 (patch)
tree134e7e7d2a0f0df1e731e65bffc445bd026539fb /util/scan/dump-zap.c
parent2ade78e0b7545aa63792aa4b08f0f88eba0b0e3e (diff)
parent6b350466c4902c5b137e0efaf1d189128a7f18f5 (diff)
downloadlinux-dvb-apps-cd0ba165544acd995a02ac89f864b79e1f58b40a.tar.gz
Imported Debian patch 1.1.1-1debian/1.1.1-1
Diffstat (limited to 'util/scan/dump-zap.c')
-rw-r--r--util/scan/dump-zap.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/util/scan/dump-zap.c b/util/scan/dump-zap.c
index fb46a2a..83505b9 100644
--- a/util/scan/dump-zap.c
+++ b/util/scan/dump-zap.c
@@ -29,7 +29,9 @@ static const char *qam_name [] = {
"QAM_64",
"QAM_128",
"QAM_256",
- "QAM_AUTO"
+ "QAM_AUTO",
+ "8VSB",
+ "16VSB",
};
@@ -96,12 +98,17 @@ void zap_dump_dvb_parameters (FILE *f, fe_type_t type, struct dvb_frontend_param
fprintf (f, "%s", hierarchy_name[p->u.ofdm.hierarchy_information]);
break;
+ case FE_ATSC:
+ fprintf (f, "%i:", p->frequency);
+ fprintf (f, "%s", qam_name[p->u.vsb.modulation]);
+ break;
+
default:
;
};
}
-void zap_dump_service_parameter_set (FILE *f,
+void zap_dump_service_parameter_set (FILE *f,
const char *service_name,
fe_type_t type,
struct dvb_frontend_parameters *p,