String parameter in an element

Tim-Philipp Müller t.i.m at zen.co.uk
Sun Apr 15 07:50:37 PDT 2012


On Sat, 2012-04-14 at 22:36 -0700, iron_guitarist1987 wrote:

> filter->line_color = g_value_get_string (value);

Try:

   g_free (filter->line_color);
   filter->line_color = g_value_dup_string (value);

Cheers
 -Tim



More information about the gstreamer-devel mailing list