From 5ad88a035215be96d052299fb3a103ddce630d30 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Thu, 15 Jun 2017 17:08:19 -0700 Subject: [PATCH] dvb: src: issue warning on failed delsys-vs-parameter issues Aids in understanding misses with the delsys auto-detection logic --- sys/dvb/gstdvbsrc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c index 7e3f1e2fab..7ca3dcd537 100644 --- a/sys/dvb/gstdvbsrc.c +++ b/sys/dvb/gstdvbsrc.c @@ -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; }