<html style="direction: ltr;">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<p>I use Qt, and setting QWidget::autoFillBackground helps - but
only while the video is not playing and its first frame is static
and visible, and for about one second once playing starts.</p>
<p>After one second of play the blank spaces return and become
see-through.</p>
<pre>
</pre>
<blockquote
cite="mid:6fd071bf-355a-4729-b3c0-38f7f21c3de7@wanadoo.fr"
type="cite">
<pre wrap="">><i> How can I fill-up these blank spaces with a color of my choice?
</i>>
>Set the background-pixel attribute on the window, either at creation or with XSetWindowAttributes() (Assuming it is an X11 window).
>
> Giles
</pre>
</blockquote>
<br>
<div class="moz-cite-prefix">On 07-04-2017 11:33, Harry McKame
wrote:</div>
<blockquote
cite="mid:6fd071bf-355a-4729-b3c0-38f7f21c3de7@wanadoo.fr"
type="cite">
<pre wrap="">First question :
I use playbin for displaying video inside a child window, passing that window's handle as video overlay (gst_video_overlay_set_window_handle). The window has a message loop that never seems to be called.
The video plays well inside its window, except for one problem : The video is displayed in the middle of the window, leaving blank space on both sides. These blank spaces are never refreshed. Under Windows they are just black, while under Linux they act as "holes" showing through whatever is beneath my application (for example the desktop).
How can I fill-up these blank spaces with a color of my choice?
Second question :
When running inside gdb, I get the message :
GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
I cannot find any problematic call to g_object_unref in my code.
How can I find where is it coming from ?
Third question :
I'm using Linux Mint where the repositories only contain GStreamer 1.8.
Are there any repositories where I can find the latest version ?
</pre>
</blockquote>
<br>
</body>
</html>