[aravis] Re: Make num-buffers a parameter

  • From: Emmanuel Pacaud <emmanuel@xxxxxxxxx>
  • To: aravis@xxxxxxxxxxxxx
  • Date: Tue, 22 Apr 2014 15:16:07 +0200

Hi Patrick,

Le mardi 22 avril 2014 à 08:07 -0400, Patrick Doyle a écrit :
> When I do regain access to my development platform, I would like to
> make the number of frames that can be buffered a runtime parameter
> instead of a compile time constant.  Going from memory, I seem to
> recall that there is a compile time constant, set to 50, that
> determines the number of frames that the  gstreamer thread will
> buffer.
> 
> What are the implications (if any) of making this a runtime property
> (obviously with a default value of 50).?
> 
> What are the implications of setting it to 1 or 2 at runtime?

Apart from the problem of buffers not being put back in the buffer pool
in time, there is no implication.

A patch that implements setting at run time of the buffer pool size
would be welcomed.

        Cheers,

                Emmanuel.


Other related posts: