From f70e18b8a6ebc1d27faea82801a659b26150ed45 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 29 Aug 2003 23:10:13 +0000 Subject: small missing lock CVS patchset: 5319 CVS date: 2003/08/29 23:10:13 --- src/video_out/video_out_xv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index 51d7c9f81..ad7b1b326 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.172 2003/08/25 21:51:48 f1rmb Exp $ + * $Id: video_out_xv.c,v 1.173 2003/08/29 23:10:13 miguelfreitas Exp $ * * video_out_xv.c, X11 video extension interface for xine * @@ -785,10 +785,11 @@ static void xv_property_callback (void *property_gen, xine_cfg_entry_t *entry) { xv_property_t *property = (xv_property_t *) property_gen; xv_driver_t *this = property->this; + XLockDisplay (this->display); XvSetPortAttribute (this->display, this->xv_port, property->atom, entry->num_value); - + XUnlockDisplay (this->display); } static int xv_set_property (vo_driver_t *this_gen, -- cgit v1.2.3