dvb: src: issue warning on failed delsys-vs-parameter issues

Aids in understanding misses with the delsys auto-detection logic
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2017-06-15 17:08:19 -07:00
parent fd3854c3e3
commit 5ad88a0352

View file

@ -2095,6 +2095,8 @@ gst_dvbsrc_is_valid_trans_mode (guint delsys, guint mode)
"delivery system");
return TRUE;
}
GST_WARNING ("Invalid transmission-mode '%d' for delivery system '%d'", mode,
delsys);
return FALSE;
}
@ -2125,6 +2127,7 @@ gst_dvbsrc_is_valid_modulation (guint delsys, guint mod)
"system: '%d'", delsys);
return TRUE;
}
GST_WARNING ("Invalid modulation '%d' for delivery system '%d'", mod, delsys);
return FALSE;
}
@ -2156,6 +2159,7 @@ gst_dvbsrc_is_valid_bandwidth (guint delsys, guint bw)
"delivery system");
return TRUE;
}
GST_WARNING ("Invalid bandwidth '%d' for delivery system '%d'", bw, delsys);
return FALSE;
}