aboutsummaryrefslogtreecommitdiffstats
path: root/util/scan/dump-zap.c
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2013-09-03 09:48:40 +0200
committeretobi <git@e-tobi.net>2013-09-03 09:48:40 +0200
commit6b350466c4902c5b137e0efaf1d189128a7f18f5 (patch)
treea7cf91f9896c0f8c9d8b291114e51f1373940c70 /util/scan/dump-zap.c
parent6e40287e2f39a80fc72bd8d0fbc1a8334d688c2d (diff)
downloadlinux-dvb-apps-6b350466c4902c5b137e0efaf1d189128a7f18f5.tar.gz
Imported Upstream version 1.1.1upstream/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,