From 5a2d8345856f99012854c6d556ce24fe954071f3 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Fri, 3 Oct 2014 20:20:30 -0300 Subject: [PATCH] dvbsrc: add missing standard transmission modes These apply to ISDB-T, DVB-T2 and DTMB Order of the enum values (new rates after _AUTO) has been kept congruent with the one in the v4l API for consistency. --- sys/dvb/gstdvbsrc.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c index b8528efb5d..720abc3106 100644 --- a/sys/dvb/gstdvbsrc.c +++ b/sys/dvb/gstdvbsrc.c @@ -334,6 +334,14 @@ gst_dvbsrc_transmission_mode_get_type (void) {TRANSMISSION_MODE_2K, "2K", "2k"}, {TRANSMISSION_MODE_8K, "8K", "8k"}, {TRANSMISSION_MODE_AUTO, "AUTO", "auto"}, + {TRANSMISSION_MODE_4K, "4K", "4k"}, + {TRANSMISSION_MODE_1K, "1K", "1k"}, + {TRANSMISSION_MODE_16K, "16K", "16k"}, + {TRANSMISSION_MODE_32K, "32K", "32k"}, +#if HAVE_V5_MINOR(7) + {TRANSMISSION_MODE_C1, "C1", "c1"}, + {TRANSMISSION_MODE_C3780, "C3780", "c3780"}, +#endif {0, NULL, NULL}, };