mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 02:02:26 +00:00
dvbsrc: simplify reporting of set polarity
This commit is contained in:
parent
6a4fa2de75
commit
faadd0f12a
1 changed files with 2 additions and 3 deletions
|
@ -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…
Reference in a new issue