dvbsrc: simplify reporting of set polarity
This commit is contained in:
parent
6a4fa2de75
commit
faadd0f12a
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user