[gst-devel] id3demux set propery prefer-v1 fails

Tim-Philipp Müller t.i.m at zen.co.uk
Fri Jan 28 15:55:27 CET 2011


On Fri, 2011-01-28 at 06:49 -0800, Jesu Anuroop Suresh wrote:

> g_object_set (G_OBJECT (demuxer), "prefer-v1", "true", NULL);
> 
> It gives the following error and does not work
> 
> (<unknown>:5543): GLib-GObject-WARNING **: value "TRUE" of type `gboolean'
> is invalid or out of range for property `prefer-v1' of type `gboolean'

Try:

 g_object_set (demuxer, "prefer-v1", TRUE, NULL);

It's a vararg function, the type you pass needs to match the type shown
in gst-inspect. (The gst-launch utility will convert the string
automatically, but g_object_set() can't do that).

Cheers
 -Tim






More information about the gstreamer-devel mailing list