summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-08-29 23:10:13 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-08-29 23:10:13 +0000
commitf70e18b8a6ebc1d27faea82801a659b26150ed45 (patch)
tree8e2b09d6e092aa0143dc8e5271e9565f335a1243
parenta7cfc07cc0596b35cf23b50957375015efe55df9 (diff)
downloadxine-lib-f70e18b8a6ebc1d27faea82801a659b26150ed45.tar.gz
xine-lib-f70e18b8a6ebc1d27faea82801a659b26150ed45.tar.bz2
small missing lock
CVS patchset: 5319 CVS date: 2003/08/29 23:10:13
-rw-r--r--src/video_out/video_out_xv.c5
1 files changed, 3 insertions, 2 deletions
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,