summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-06-17 22:34:36 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-06-17 22:34:36 +0000
commit4c9a0c620794f8204a286f16589c5dc7caf6946c (patch)
tree7a893363a50628c363f991d2f01edd01973ba1b6 /src
parentaa6218885ee951ece5ba570bdbad9a49e190954d (diff)
downloadxine-lib-4c9a0c620794f8204a286f16589c5dc7caf6946c.tar.gz
xine-lib-4c9a0c620794f8204a286f16589c5dc7caf6946c.tar.bz2
little hack for pause expose redraws
CVS patchset: 204 CVS date: 2001/06/17 22:34:36
Diffstat (limited to 'src')
-rw-r--r--src/video_out/video_out_xv.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c
index bb57667ef..e48fcf103 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.42 2001/06/17 20:33:47 guenter Exp $
+ * $Id: video_out_xv.c,v 1.43 2001/06/17 22:34:36 guenter Exp $
*
* video_out_xv.c, X11 video extension interface for xine
*
@@ -454,6 +454,12 @@ static void xv_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen) {
} else {
+ if (this->cur_frame) {
+ this->cur_frame->vo_frame.displayed (&this->cur_frame->vo_frame);
+ this->cur_frame = NULL;
+ }
+
+
if ( (frame->width != this->delivered_width)
|| (frame->height != this->delivered_height)
|| (frame->ratio_code != this->delivered_ratio_code) ) {
@@ -569,10 +575,6 @@ static int xv_gui_data_exchange (vo_driver_t *this_gen,
if (cev->drawable == this->drawable) {
this->expecting_event = 0;
- if (this->cur_frame) {
- this->cur_frame->vo_frame.displayed (&this->cur_frame->vo_frame);
- this->cur_frame = NULL;
- }
}
}