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
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel