+2005-11-14 Julien MOUTTE <julien@moutte.net>
+
+ * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_new):
+ Discovered how to take away flickering while resizing the
+ window. Please don't put that in ximagesink, refactoring in
+ progress.
+
2005-11-14 Michael Smith <msmith@fluendo.com>
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_client_queue_data),
0, 0, xwindow->width, xwindow->height,
0, 0, xvimagesink->xcontext->black);
+ /* We have to do that to prevent X from redrawing the background on
+ * ConfigureNotify. This takes away flickering of video when resizing. */
+ XSetWindowBackgroundPixmap (xvimagesink->xcontext->disp, xwindow->win, None);
+
XSelectInput (xvimagesink->xcontext->disp, xwindow->win, ExposureMask |
StructureNotifyMask | PointerMotionMask | KeyPressMask |
KeyReleaseMask | ButtonPressMask | ButtonReleaseMask);