[gst-devel] Changing Buffer Size in SoupHTTPSrc

Raj Swaminathan rajshyam at gmail.com
Thu Oct 16 15:52:17 CEST 2008


Wouter,
Thanks ... Ill try that out ...
To do that i have to do the connect signal as below and in the callback
change the blocksize property. Is that how its done ?

// connect signal
g_signal_connect(G_OBJECT(playbin), "notify::source",
G_CALLBACK(cb_playbin_notify_source), NULL);


Arnout,
I would like to reduce the buffer size to optimize performance. Currently
everytime i stream, it takes a long time for the buffer to fill up.
Do you have an alternative ... is manually setting the pipeline to play an
option ??

Thanks,
raj


On Thu, Oct 16, 2008 at 5:14 AM, Wouter Cloetens <zombie at e2big.org> wrote:

> On Wed, Oct 15, 2008 at 04:39:36PM -0500, Raj Swaminathan wrote:
> > Is there a way to change the default buffer size that is setup with
> > souphttpsrc ?  I use playbin.
>
> Yes. The "blocksize" property.
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseSrc.html#GstBaseSrc--blocksize
>
> bfn, Wouter
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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/20081016/a48605d5/attachment.htm>


More information about the gstreamer-devel mailing list