[gst-devel] v4l2src plugin: can't add"always-copy=FALSE" in C pipe
Tim-Philipp Müller
t.i.m at zen.co.uk
Tue Apr 27 11:28:27 CEST 2010
On Tue, 2010-04-27 at 01:06 -0700, djlorenzoc wrote:
> I'm trying to implement this pipe in a C program:
>
> gst-launch -v v4l2src always-copy=FALSE ! ... ! udpsink
> host=<HOST IP ADDRESS> port=5000
>
> but I can't add 2 options : "always-copy=FALSE" and "port=5000".
> A part of my program is:
> ....
> g_object_set (G_OBJECT (sink),
> "host","192.168.100.229",
> "port","5000",
> NULL);
It needs to be:
g_object_set (sink, "port", 5000, NULL);
and
g_object_set (sink, "always-copy", FALSE, NULL);
ie. 5000 and FALSE, not "5000" and "FALSE". You can see the type of the
property in gst-inspect.
Cheers
-Tim
More information about the gstreamer-devel
mailing list