summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-12-08 22:40:32 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-12-08 22:40:32 +0000
commitef7b6d44d24a7ba781657e7b27612e26131144e1 (patch)
tree6cf53d54b2122b4ece079c64c5b1d368a1804e64
parentc2524d293e4d47ad856fd20a849ce3c2a6c30fd6 (diff)
downloadxine-lib-ef7b6d44d24a7ba781657e7b27612e26131144e1.tar.gz
xine-lib-ef7b6d44d24a7ba781657e7b27612e26131144e1.tar.bz2
XSync after restoring xv settings
CVS patchset: 7211 CVS date: 2004/12/08 22:40:32
-rw-r--r--src/video_out/video_out_xv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c
index 3107b2978..9ea754708 100644
--- a/src/video_out/video_out_xv.c
+++ b/src/video_out/video_out_xv.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_xv.c,v 1.206 2004/11/24 16:11:08 mroi Exp $
+ * $Id: video_out_xv.c,v 1.207 2004/12/08 22:40:32 miguelfreitas Exp $
*
* video_out_xv.c, X11 video extension interface for xine
*
@@ -1048,6 +1048,10 @@ static void xv_restore_port_attributes(xv_driver_t *this) {
free( attr->name );
free( attr );
}
+
+ XLockDisplay(this->display);
+ XSync(this->display, False);
+ XUnlockDisplay(this->display);
xine_list_free( this->port_attributes );
}