Yes, I did exactly what is written in the header of shmpipe.h.<br>I don't understand why it doesn't work as it should. Well, if I don't find any solution to this problem, I'll just make the client connect as soon as the stream starts, but it's not the best way..<br>
<br><div class="gmail_quote">2012/7/24 Olivier Crête <span dir="ltr"><<a href="mailto:olivier.crete@collabora.com" target="_blank">olivier.crete@collabora.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, 2012-07-24 at 05:55 -0700, Takido wrote:<br>
> I managed to extract a stream from Gstreamer using shmsink, and it works<br>
> correctly when the property "wait-for-connection" is set to false.<br>
> I'd like the property to be set to true so that the stream starts only when<br>
> I want it to start. However, when I set it to true, the stream never starts.<br>
> I saw that there is something to do with signals (client-connected) but how<br>
> can I emit such a signal from a non-gstreamer application ?<br>
<br>
</div>The "client-connected" signal is just informative for the application.<br>
Did you copy shmpipe.[ch] into your own application? Or are you using<br>
some other mechanism? If "wait-for-connection" is true, the sink should<br>
unblock as soon as at least one client is connected.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Olivier Crête<br>
<a href="mailto:olivier.crete@collabora.com">olivier.crete@collabora.com</a><br>
</font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>