mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
dvbsrc: fix 'delivery system'-related messages
* Rephrase tune error to be delsys-neutral * Refer to the actual check in the 'missing sanity check' warnings * Use "Delivery system" instead of 'delsys'. The latter is OK as a shorthand in the code but not even a real word
This commit is contained in:
parent
32b356b2c5
commit
dbdb84c2d3
1 changed files with 8 additions and 8 deletions
|
@ -1984,7 +1984,7 @@ gst_dvbsrc_start (GstBaseSrc * bsrc)
|
|||
return FALSE;
|
||||
}
|
||||
if (!gst_dvbsrc_tune (src)) {
|
||||
GST_ERROR_OBJECT (src, "Not able to lock on to the dvb channel");
|
||||
GST_ERROR_OBJECT (src, "Not able to lock on channel");
|
||||
goto fail;
|
||||
}
|
||||
if (!gst_dvbsrc_open_dvr (src)) {
|
||||
|
@ -2078,8 +2078,8 @@ gst_dvbsrc_is_valid_trans_mode (guint delsys, guint mode)
|
|||
break;
|
||||
#endif
|
||||
default:
|
||||
GST_FIXME ("No delsys/transmission-mode sanity checks implemented for "
|
||||
"this delivery system");
|
||||
GST_FIXME ("No transmission-mode sanity checks implemented for this "
|
||||
"delivery system");
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
|
@ -2108,8 +2108,8 @@ gst_dvbsrc_is_valid_modulation (guint delsys, guint mod)
|
|||
return TRUE;
|
||||
break;
|
||||
default:
|
||||
GST_FIXME ("No delsys/modulation sanity checks implemented for this "
|
||||
"delivery system");
|
||||
GST_FIXME ("No modulation sanity checks implemented for this delivery "
|
||||
"system");
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
|
@ -2318,12 +2318,12 @@ gst_dvbsrc_tune_fe (GstDvbSrc * object)
|
|||
/* If set, confirm the choosen delivery system is actually
|
||||
* supported by the hardware */
|
||||
if (object->delsys != SYS_UNDEFINED) {
|
||||
GST_DEBUG_OBJECT (object, "Confirming delsys '%u' is supported",
|
||||
GST_DEBUG_OBJECT (object, "Confirming delivery system '%u' is supported",
|
||||
object->delsys);
|
||||
if (!g_list_find (object->supported_delsys,
|
||||
GINT_TO_POINTER (object->delsys))) {
|
||||
GST_WARNING_OBJECT (object, "Adapter does not support delsys '%u'",
|
||||
object->delsys);
|
||||
GST_WARNING_OBJECT (object, "Adapter does not support delivery system "
|
||||
"'%u'", object->delsys);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue