<div>HI, I got working pipeline with Xlib last month.</div><div><a href="http://lists.freedesktop.org/archives/gstreamer-devel/2012-October/037725.html">http://lists.freedesktop.org/archives/gstreamer-devel/2012-October/037725.html</a> </div>
<div><a href="http://lists.freedesktop.org/archives/gstreamer-devel/2012-October/037737.html">http://lists.freedesktop.org/archives/gstreamer-devel/2012-October/037737.html</a></div><div> </div><div>I can play video file embedded in X window using </div>
<div> case GST_MESSAGE_ELEMENT:<br> gst_x_overlay_set_window_handle (GST_X_OVERLAY (GST_MESSAGE_SRC(message)), child_window);<br> break;</div><div> </div><div>The problem is that when x window loses its focus then the video screen is hidden.</div>
<div>step 1: If I run the program in X11 console, I can see new X window to play video file. </div><div>step 2: If I move focus from video playing X window to console, </div><div> then video screen becomes white which I set background color before.</div>
<div> </div><div>My pipeline is appsrc > decodebin2 > ffmpegcolorspace > autovideosink</div><div> </div><div>I tried XMapRaised() but with no luck.</div><div> </div><div>Is there a way (or ways) to see video screen all the time whether it is focused or not?</div>
<div>Is it because I missed EXPOSE event in Xlib? If so, how I can deal with it?</div><div> </div><div>Thanks in advance.</div><div>ByoungSoon</div><div> </div><div> </div><div><pre> </pre><pre> </pre></div>