<html><head></head><body><div>Hi,</div><div><br></div><div>Right now, no there isn't. I think we could create some kind of src/sink that uses fd passing, I don't think it would be very hard to do. I think we could either have a sink/src combo that passes fds, or even have shmsink/shmsrc handle that somehow.</div><div><br></div><div>Olivier</div><div><br></div><div>On Sun, 2017-08-06 at 23:44 +0200, Peter Maersk-Moller wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi.<br><br></div>Assuming you have a pipeline ending in a shmsink like this<br><br></div>  gst-launch-1.0 ...something ! shmsink socket-path=/tmp/sockA wait-for-connnection=0<br><br></div>And then you in a second pipeline have something like this<br><br></div>  gst-launch-1.0 shmsrc socket-path=/tmp/sockA ! queue ! shmsink socket-path=/tmp/sockB wait-for-connnection=0<br><br></div>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?<br><br></div>Regards<br></div>Peter MM<br></div>
<pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre></blockquote><div><span><pre><pre>-- <br></pre>Olivier CrĂȘte
olivier.crete@collabora.com
</pre></span></div></body></html>