If I am not mistaken the ProcHook function is registered to catch events for the window created by or provided to the sink. That would include navigation events, expose, destroy, etc..<div><br></div><div>You might be interested in figuring out which events are received in this function and the processing they are triggering as this could explain why it slows down the whole thing.</div>
<div><br></div><div>Best regards,</div><div><br clear="all"><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><b>Julien MOUTTE</b><br>C.T.O.<br><br>FLUENDO <font size="1"><span style="color:rgb(51,51,51)">Influencing the Multimedia World</span><div style="color:rgb(102,102,102)">
<br style="color:rgb(192,192,192)"><span style="color:rgb(192,192,192)">San Francisco, USA & Barcelona, SPAIN</span></div><span style="color:rgb(192,192,192)">Contact phone:</span><br style="color:rgb(192,192,192)"><font color="#c0c0c0">Spain: </font><a value="+34933175153"><font color="#c0c0c0">+34 933 175 153</font></a><br style="color:rgb(192,192,192)">
<font color="#c0c0c0">United States: </font><a value="+14157735353"><font color="#c0c0c0">+1 415 773 5353</font></a><br style="color:rgb(192,192,192)"><a href="http://www.fluendo.com/" target="_blank"><font color="#c0c0c0">www.fluendo.com</font></a></font><div style="color:rgb(102,102,102)">
<br><span style="color:rgb(0,153,0)"><font size="4">P</font><font size="1">lease consider the environment before printing this e-mail.</font></span></div></span><br>
<br><br><div class="gmail_quote">On Mon, Mar 19, 2012 at 5:57 PM, Matteo Pampolini <span dir="ltr"><<a href="mailto:matteo.pampolini@selexelsag.com">matteo.pampolini@selexelsag.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font size="-1">Hi everybody,<br>
<br>
as a good practice I prefer to share as much information as
possible, that's why I'm writing here for a question mainly
directed to Tim-Phillip, at least I guess...<br>
<br>
We are developing a video-surveillance Windows application based
on GStreamer where we can have multiple windows each with many
videos inside it, for a total of tenth of simultaneously running
videos. After many performance tests we came to Direct3D video
sink before it was officially released (we started from Git
development version) and we are very satisfied with it, though we
noticed a very poor behavior when as an example we rescale the
multiple videos window, graphics are so slow that they are quite
unusable for a long time.<br>
<br>
After many tests we found out that simply avoiding the
registration of WndProcHook function fixes most of our issues,
graphics is very responsive and everything is fine, no particular
feature (at least for what we need) is missing. Moreover Direct3D
swap chain is correctly managed even if gst_d3dvideosink_refresh
is not directly called.<br>
<br>
May you please explain us the reason for this implementation? We
did not find anything similar for example in VLC Direct3D video
output module.<br>
<br>
Many thanks in advance for your kind support,<br>
<br>
Matteo<br>
<br>
<br>
</font>
</div>
<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></div>