<br><br><div class="gmail_quote">On Sun, Oct 31, 2010 at 8:42 PM, Michael Smith <span dir="ltr"><<a href="mailto:msmith@xiph.org">msmith@xiph.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
When the xvimagesink is in the null state, it's not doing anything. It<br>
doesn't even have a window to draw into.<br>
<br>
If it's black, that's coming from something else. You can draw into<br>
that something else using whatever API you're using for the rest of<br>
your application.<br><br></blockquote><div><br></div><div>Hmm... I am pretty sure I am not painting any black by default, and I am certainly not explicitly painting black. I am displaying the video on[in?] a gtk.DrawingArea. It is grey by default. ( It is a very similar set up to this one: <a href="http://pygstdocs.berlios.de/pygst-tutorial/playbin.html">http://pygstdocs.berlios.de/pygst-tutorial/playbin.html</a> ).</div>
<div><br></div><div>My pipeline listens for the "prepare-xwindow-id" message and once I play some video and the message arrives I call message.src.set_window_id( myGtkDrawingArea.window.xid ). Once I have done this, my drawingArea flashes from default grey to a black box for just a moment before my video shows up. When I stop the video I get a black box in my drawing area.</div>
</div>