title: GStreamer# equivalent for video overlay functions
body: <p>I have a C#/Mono application for rendering video streams and, until recently, I've been using my own in-house developed InterOp bindings.</p>
  
  <p>I'm now moving from that method to use those of GStreamer#, since that's likely to be much less maintenance effort, at least for me :-)</p>
  
  <p>Since I need to bind independent video streams to a specific <code>DrawableArea</code> widgets, my method captured the GStreamer messages then checked them with the function <code>gst_is_video_overlay_prepare_window_handle_message(msg)</code><sup>(a)</sup>.</p>
  
  <p>If that returned true, I then responded with a call to <code>gst_video_overlay_set_window_handle(xid)</code>, where <code>xid</code> was the handle for the widget obtained earlier with <code>gdk_x11_window_get_xid()</code>.</p>
  
  <p>My problem is this: searching through the GStreamer# code, I cannot find an equivalent function for doing the binding so I was wondering how this is meant to be done.</p>
  
  <p>Anyone have any advice or information to offer?</p>
  
  <p>The source code for those two functions are in <code>gst-plugins-base-1.4.4/gst-libs/gst/video/videooverlay.c</code> so, in a pinch, I could dummy up my own functions to do the job (or just stick with our bindings for that one <em>little</em> bit) but it seems to me this would have been included in GStreamer# since rendering to specific widgets seems like a very handy facility.</p>
  
  <hr>
  
  <p><sup>(a)</sup> Those GStreamer wags. They must replace their keyboards quite a bit with all that unnecessary typing :-)</p>