Hello,<br>I suffer strange problem when using xvimagesink and ximagesink and displaying the output to Qt4&#39;s QWidget. I initialize sink element with windowid of QWidget:<br><br>gst_x_overlay_set_xwindow_id ((GstXOverlay*)xvimagesink, ui-&gt;video-&gt;winId());<br>
<br>and then play video to it using playbin with this sink set as video-sink:<br><br>g_object_set(G_OBJECT (_pipeline), &quot;video-sink&quot;, xvimagesink, NULL);<br><br>Video files (I tried avi with Xvid encoded video) are played just fine, but when I try to play any DVD disc pipeline works ok, sound goes but nothing is displayed on the widget and console is filled with X Error messages:<br>
<br>X Error: BadGC (invalid GC parameter) 13<br>  Extension:    133 (Uknown extension)<br>  Minor opcode: 19 (Unknown request)<br>  Resource id:  0x4c00002<br><br>I think it prints one such text on every frame, very often.<br>
Also, if I set windowid of the main window of application, i.e.:<br><br>gst_x_overlay_set_xwindow_id ((GstXOverlay*)xvimagesink, this-&gt;winId());<br><br>everything works ok, too.<br><br>Could you please help me with the problem? How can I fix it or maybe it&#39;s a bug in GStreamer or Qt?<br>