|
From: Darren S. <ds...@us...> - 2005-02-13 01:28:31
|
Update of /cvsroot/xine/gnome-xine/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4041/src Modified Files: playlist.c Log Message: Fix a redraw problem (async volume events, e.g. from vdr). Index: playlist.c =================================================================== RCS file: /cvsroot/xine/gnome-xine/src/playlist.c,v retrieving revision 1.110 retrieving revision 1.111 diff -u -r1.110 -r1.111 --- playlist.c 31 Jan 2005 19:04:45 -0000 1.110 +++ playlist.c 13 Feb 2005 01:28:21 -0000 1.111 @@ -1318,9 +1318,11 @@ case XINE_EVENT_AUDIO_LEVEL: { xine_audio_level_data_t *data = event->data; + gdk_threads_enter (); ui_set_control_adjustment (Control_VOLUME, (data->left + data->right) / 2); ui_set_control_button (Control_MUTE, !data->mute); + gdk_threads_leave (); } } } |