dvbsrc: simplify reporting of set polarity

This commit is contained in:
Reynaldo H. Verdejo Pinochet 2016-05-23 16:31:05 -07:00
parent 6a4fa2de75
commit faadd0f12a

View file

@ -1170,9 +1170,8 @@ gst_dvbsrc_set_property (GObject * _object, guint prop_id,
s = g_value_get_string (value);
if (s != NULL) {
object->pol = (s[0] == 'h' || s[0] == 'H') ? DVB_POL_H : DVB_POL_V;
GST_INFO_OBJECT (object, "Set Property: ARG_DVBSRC_POLARITY");
GST_INFO_OBJECT (object, "\t%s", (s[0] == 'h'
|| s[0] == 'H') ? "DVB_POL_H" : "DVB_POL_V");
GST_INFO_OBJECT (object, "Set Property: ARG_DVBSRC_POLARITY to %s",
object->pol ? "Vertical" : "Horizontal");
}
break;
}