Advertisement
rotrevrep

Untitled

Sep 15th, 2013
944
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Vala 0.39 KB | None | 0 0
  1. uint* handle = (uint*)Gdk.X11Window.get_xid(widget.get_window());
  2.  playbin = Gst.ElementFactory.make("playbin","player");
  3.             playbin.bus.add_watch(0,(bus,message) => {
  4.                 if(Gst.Video.is_video_overlay_prepare_window_handle_message(message))
  5.                     (message.src as Gst.Video.Overlay).set_window_handle(handle);
  6.                 return true;
  7.             });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement