Adding plugin arguments in code.

Chuck Crisler ccrisler at mutualink.net
Mon Dec 9 14:03:53 PST 2013


After you have created the element, call
g_object_set(G_OBJECT(your_element), "max-size_time", 0, NULL);

It is in the documentation.


On Mon, Dec 9, 2013 at 4:15 PM, Rusty Waters <rusty0829 at yahoo.com> wrote:

> Hello All,
>
> I have been doing some gstreamer prototypes using gst-launch,
> and things work well with this approach.
> Now I am putting this code into source code, and have a simple question.
> In my prototype I have plugins piped together. Some of these plugin
> elements have arguments, like
>  queue max-size-time=0
> Now, that I have the pipeline in code,
> what code do I use to set the  max-size-time=0 for this queue plugin?
>
> Thanks in Advance,
>
> ~Rusty
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131209/5e90b5b4/attachment.html>


More information about the gstreamer-devel mailing list