<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
I know that my video sink is xvimagesink, then I don't need to bother with the<br>'prepare-xwindow-id' messages at all, but I wish to set the 'window_handle' on<br>the 'xvimagesink' element directly, once only, before start up the pipeline.<br><br>How do this in Python? Please help Me!<br><br>The pipeline of my application:<br><<<<br> player = gst.element_factory_make('playbin2', 'player')<br> bus = player.get_bus()<br> bus.add_signal_watch()<br> bus.connect('message', self.newBusMessage)<br><br> sink = gst.element_factory_make('xvimagesink', 'videosink')<br> sink.set_property('force-aspect-ratio', True)<br> sink.set_property('handle-expose', True)<br> sink.set_property('sync', True)<br><br> player.set_property('video-sink', sink)<br>>>><br>                                            </div></body>
</html>