From ef7b6d44d24a7ba781657e7b27612e26131144e1 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Wed, 8 Dec 2004 22:40:32 +0000 Subject: XSync after restoring xv settings CVS patchset: 7211 CVS date: 2004/12/08 22:40:32 --- src/video_out/video_out_xv.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ); } -- cgit v1.2.3