Zero copying from shmsrc to shmsink possible

Peter Maersk-Moller pmaersk at
Sun Aug 6 21:44:39 UTC 2017


Assuming you have a pipeline ending in a shmsink like this

  gst-launch-1.0 ...something ! shmsink socket-path=/tmp/sockA

And then you in a second pipeline have something like this

  gst-launch-1.0 shmsrc socket-path=/tmp/sockA ! queue ! shmsink
socket-path=/tmp/sockB wait-for-connnection=0

Is there then a way that the second shmsink (sockB) can reuse the the
shmarea allocated by the shmsink sockA so this can work with zero copying ?
Or will there always have to be a buffer copying from shmsrc sockA to
shmsink sockB in the above example?

Peter MM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list