mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
dvbsrc: use g_value_set_static_string() where possible
This commit is contained in:
parent
38d520e3e8
commit
f1fde2ed4b
1 changed files with 2 additions and 2 deletions
|
@ -633,9 +633,9 @@ gst_dvbsrc_get_property (GObject * _object, guint prop_id,
|
||||||
break;
|
break;
|
||||||
case ARG_DVBSRC_POLARITY:
|
case ARG_DVBSRC_POLARITY:
|
||||||
if (object->pol == DVB_POL_H)
|
if (object->pol == DVB_POL_H)
|
||||||
g_value_set_string (value, "H");
|
g_value_set_static_string (value, "H");
|
||||||
else
|
else
|
||||||
g_value_set_string (value, "V");
|
g_value_set_static_string (value, "V");
|
||||||
break;
|
break;
|
||||||
case ARG_DVBSRC_SYM_RATE:
|
case ARG_DVBSRC_SYM_RATE:
|
||||||
g_value_set_int (value, object->sym_rate);
|
g_value_set_int (value, object->sym_rate);
|
||||||
|
|
Loading…
Reference in a new issue