dvb: parsechannels: replace missleadign error message

Possible failure cases also include not finding the
requested channel.
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2016-12-22 13:42:59 -08:00
parent 6c0d9ecc35
commit 61b7b1856e

View file

@ -901,8 +901,8 @@ set_properties_for_channel (GstElement * dvbbasebin,
case CHANNEL_CONF_FORMAT_DVBV5: case CHANNEL_CONF_FORMAT_DVBV5:
if (!parse_and_configure_from_v5_conf_file (dvbbasebin, filename, if (!parse_and_configure_from_v5_conf_file (dvbbasebin, filename,
channel_name, error)) { channel_name, error)) {
GST_WARNING_OBJECT (dvbbasebin, "Could not parse libdvbv5 channel " GST_WARNING_OBJECT (dvbbasebin, "Problem finding information for "
"configuration file '%s'", filename); "channel '%s' in configuration file '%s'", channel_name, filename);
} else { } else {
GST_INFO_OBJECT (dvbbasebin, "Parsed libdvbv5 channel configuration " GST_INFO_OBJECT (dvbbasebin, "Parsed libdvbv5 channel configuration "
"file"); "file");
@ -912,8 +912,8 @@ set_properties_for_channel (GstElement * dvbbasebin,
case CHANNEL_CONF_FORMAT_ZAP: case CHANNEL_CONF_FORMAT_ZAP:
if (!parse_and_configure_from_zap_conf_file (dvbbasebin, filename, if (!parse_and_configure_from_zap_conf_file (dvbbasebin, filename,
channel_name, error)) { channel_name, error)) {
GST_WARNING_OBJECT (dvbbasebin, "Could not parse ZAP channel " GST_WARNING_OBJECT (dvbbasebin, "Problem finding information for "
"configuration file '%s'", filename); "channel '%s' in configuration file '%s'", channel_name, filename);
} else { } else {
GST_INFO_OBJECT (dvbbasebin, "Parsed ZAP channel configuration file"); GST_INFO_OBJECT (dvbbasebin, "Parsed ZAP channel configuration file");
ret = TRUE; ret = TRUE;