On Wednesday 15 October 2008 23:39:36 Raj Swaminathan wrote:
> Is there a way to change the default buffer size that is setup with
> souphttpsrc ? I use playbin.
Also, I don't see the point. Do you need a larger buffer size on the TCP
connection because it takes too long for the pipeline to process a buffer?
Or do you want to optimize performance by reducing the number of buffers
passed through the pipeline? Or something else, still?
On Thu, Oct 16, 2008 at 08:52:17AM -0500, Raj Swaminathan wrote:
> 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);
> 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 ??
> On Thu, Oct 16, 2008 at 5:14 AM, Wouter Cloetens <[hidden email]> 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