diff options
author | Ewald Snel <esnel@users.sourceforge.net> | 2004-03-23 09:46:11 +0000 |
---|---|---|
committer | Ewald Snel <esnel@users.sourceforge.net> | 2004-03-23 09:46:11 +0000 |
commit | 39d96e667774980757b12ea31d52972eadfbf38e (patch) | |
tree | 67df72b42dfb556fa2cac405a1117790994bc53b | |
parent | 882c27978d1bf85dc3d7b91b7dcadd232ea74c28 (diff) | |
download | xine-lib-39d96e667774980757b12ea31d52972eadfbf38e.tar.gz xine-lib-39d96e667774980757b12ea31d52972eadfbf38e.tar.bz2 |
Fix thread safety of XINE_GUI_SEND_DRAWABLE_CHANGED
CVS patchset: 6303
CVS date: 2004/03/23 09:46:11
-rw-r--r-- | src/video_out/video_out_xv.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index df11f2808..da57425bc 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.192 2004/03/16 18:50:33 hadess Exp $ + * $Id: video_out_xv.c,v 1.193 2004/03/23 09:46:11 esnel Exp $ * * video_out_xv.c, X11 video extension interface for xine * @@ -955,9 +955,8 @@ static int xv_gui_data_exchange (vo_driver_t *this_gen, break; case XINE_GUI_SEND_DRAWABLE_CHANGED: - this->drawable = (Drawable) data; - XLockDisplay (this->display); + this->drawable = (Drawable) data; XFreeGC(this->display, this->gc); this->gc = XCreateGC (this->display, this->drawable, 0, NULL); if(this->xoverlay) |