shmsink changes from 1.0.10 to 1.1.4

Olivier Crête olivier.crete at collabora.com
Thu Sep 19 11:05:25 PDT 2013


On Thu, 2013-09-19 at 15:42 +0200, Peter Maersk-Moller wrote:

> (To the Gst developers)
> 
> BTW, are shmsrc/sink now available for the OS X platform? If not, do
> you have any plans for it?

They should be? If it doesn't work, please file a bug (and patches
welcome, I don't have a Mac). 

> BTW2. A neat feature of shmsink, especially when used by external
> programs, would be if it had 2 extra commands added. These should be:
> 
> 
>   1) Stop handing out more buffers upstream.
>   2) Start handing out more buffers upstream.
>   3) Drop all buffers handed out upstream until now, but not yet sent.
> 
> 
> A video mixer application like Snowmix could then much better do
> resource control. Imagine you have a video mixer with 10-20 gstreamer
> pipeline inputs, it can really save a lot of CPU and memmove
> bandwidth, if the mixer can temporarily halt pipeline not currently
> being mixed. Now that is already possible, but not  before the shmsink
> has used up all available shm area. Just a thought. Limiting the
> amount of unnecessary memmove becomes important when doing many
> pipelines of 1920x1080 @60fps.

Can't your just halt it directly ? Why do you wait for all of the buffer
space to be used up ?

-- 
Olivier Crête
olivier.crete at collabora.com



More information about the gstreamer-devel mailing list