From 4c9a0c620794f8204a286f16589c5dc7caf6946c Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sun, 17 Jun 2001 22:34:36 +0000 Subject: little hack for pause expose redraws CVS patchset: 204 CVS date: 2001/06/17 22:34:36 --- src/video_out/video_out_xv.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src') 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; - } } } -- cgit v1.2.3