dvbsrc: use g_value_set_static_string() where possible

This commit is contained in:
Tim-Philipp Müller 2010-03-15 09:24:17 +00:00
parent 38d520e3e8
commit f1fde2ed4b

View file

@ -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);