dvb/parsechannels: parse guard interval as a fraction

Fixes wrong default failover when parsing libdvbv5 formatted
channel configuration files.
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2016-10-09 06:42:30 -07:00
parent 5d1b62ccda
commit 7dd42aee5b

View file

@ -274,8 +274,8 @@ gst_dvb_base_bin_conf_set_guard (GstElement * dvbbasebin,
const gchar * key)
{
const gchar *guards[] = {
"32", "16", "8", "4", "auto",
"128", "19/128", "19/256",
"1/32", "1/16", "1/8", "1/4", "auto",
"1/128", "19/128", "19/256",
"PN420", "PN595", "PN945", NULL
};
return gst_dvb_base_bin_conf_set_property_from_string_array (dvbbasebin,