[gst-devel] v4l2src plugin: can't add"always-copy=FALSE" in C pipe

lorenzo centurelli l.centurelli at gmail.com
Tue Apr 27 15:44:48 CEST 2010


Thank you for you help Tim.
Nice to meet you.
Sorry for the disturb
Best regards

Lorenzo


2010/4/27 Tim-Philipp Müller <t.i.m at zen.co.uk>

> 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
>
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100427/d27be97e/attachment.htm>


More information about the gstreamer-devel mailing list