Zero copying from shmsrc to shmsink possible

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


Hi.

Assuming you have a pipeline ending in a shmsink like this

  gst-launch-1.0 ...something ! shmsink socket-path=/tmp/sockA
wait-for-connnection=0

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?

Regards
Peter MM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170806/30e9be05/attachment.html>


More information about the gstreamer-devel mailing list