Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
linuxdvb: en50494 - add list (0, 1) for position val\ue, too
  • Loading branch information
perexg committed Aug 14, 2014
1 parent 6eb0a6b commit c6d99fc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/input/mpegts/linuxdvb/linuxdvb_en50494.c
Expand Up @@ -66,6 +66,17 @@ linuxdvb_en50494_class_get_title ( idnode_t *o )
return title;
}

static htsmsg_t *
linuxdvb_en50494_position_list ( void *o )
{
uint32_t i;
htsmsg_t *m = htsmsg_create_list();
for (i = 0; i < 2; i++) {
htsmsg_add_u32(m, NULL, i);
}
return m;
}

htsmsg_t *
linuxdvb_en50494_id_list ( void *o )
{
Expand Down Expand Up @@ -112,6 +123,7 @@ const idclass_t linuxdvb_en50494_class =
.id = "position",
.name = "Position",
.off = offsetof(linuxdvb_en50494_t, le_position),
.list = linuxdvb_en50494_position_list,
},
{
.type = PT_U16,
Expand Down

0 comments on commit c6d99fc

Please sign in to comment.