projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7813019
)
utils/dvb: Store delivery system at the properties
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 4 Jan 2012 12:49:44 +0000
(10:49 -0200)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 7 Jan 2012 13:12:15 +0000
(11:12 -0200)
This is needed when generating the channels file.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
utils/dvb/dvb-fe.c
patch
|
blob
|
history
diff --git
a/utils/dvb/dvb-fe.c
b/utils/dvb/dvb-fe.c
index
0e4dbc3
..
3e92562
100644
(file)
--- a/
utils/dvb/dvb-fe.c
+++ b/
utils/dvb/dvb-fe.c
@@
-220,8
+220,12
@@
int dvb_set_sys(struct dvb_v5_fe_parms *parms,
n = 0;
while (sys_props[n]) {
parms->dvb_prop[n].cmd = sys_props[n];
+ parms->dvb_prop[n].u.data = 0;
n++;
}
+ parms->dvb_prop[n].cmd = DTV_DELIVERY_SYSTEM;
+ parms->dvb_prop[n].u.data = sys;
+ n++;
parms->n_props = n;
return 0;