libdvbv5: add support for optional MIS parameter
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 5 Sep 2014 01:32:23 +0000 (22:32 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 5 Sep 2014 01:32:23 +0000 (22:32 -0300)
Some files at dtv-scan-tables have some optional fields.
The first one is part of the DVBv5 API. It is called
Multistream (MIS), and it is mapped as DTV_STREAM_ID
at the DVBv5 API.

Add support for it.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
lib/libdvbv5/dvb-legacy-channel-format.c

index 82b368e..0c8ccc2 100644 (file)
@@ -139,6 +139,7 @@ static const struct parse_table sys_dvbs2_table[] = {
        { DTV_INNER_FEC, PTABLE(channel_parse_code_rate) },
        { DTV_ROLLOFF, PTABLE(channel_parse_rolloff) },
        { DTV_MODULATION, PTABLE(channel_parse_modulation) },
+       { DTV_STREAM_ID, NULL, 0, 1, -1 },
 };
 
 static const struct parse_table sys_dvbt_table[] = {