diff options
| author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-06-14 09:54:13 +0000 |
|---|---|---|
| committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-06-14 09:54:13 +0000 |
| commit | 18b58faa961cb45344c0d00a753c2d65e2ce8a98 (patch) | |
| tree | e872df16fa896cc5c794b900a2206020f9877a45 /src/video_out | |
| parent | 7c2f7f0e1aba2b11b3b7024280a0ac5dc3cd7275 (diff) | |
| download | xine-lib-18b58faa961cb45344c0d00a753c2d65e2ce8a98.tar.gz xine-lib-18b58faa961cb45344c0d00a753c2d65e2ce8a98.tar.bz2 | |
more small fixes and workarounds
CVS patchset: 176
CVS date: 2001/06/14 09:54:13
Diffstat (limited to 'src/video_out')
| -rw-r--r-- | src/video_out/video_out_xshm.c | 5 | ||||
| -rw-r--r-- | src/video_out/video_out_xv.c | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c index 7df4bcca8..165e907a2 100644 --- a/src/video_out/video_out_xshm.c +++ b/src/video_out/video_out_xshm.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_xshm.c,v 1.7 2001/06/14 09:19:44 guenter Exp $ + * $Id: video_out_xshm.c,v 1.8 2001/06/14 09:54:13 guenter Exp $ * * video_out_xshm.c, X11 shared memory extension interface for xine * @@ -538,6 +538,7 @@ static void xshm_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen) { if (this->expecting_event) { + this->expecting_event--; frame->vo_frame.displayed (&frame->vo_frame); } else { @@ -566,7 +567,7 @@ static void xshm_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen) { 0, 0, this->output_xoffset, this->output_yoffset, frame->rgb_width, frame->rgb_height, True); - this->expecting_event = 1; + this->expecting_event = 10; } else { XPutImage(this->display, diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index 524cfae44..5d2bb8b98 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.40 2001/06/14 09:19:44 guenter Exp $ + * $Id: video_out_xv.c,v 1.41 2001/06/14 09:54:13 guenter Exp $ * * video_out_xv.c, X11 video extension interface for xine * @@ -445,6 +445,8 @@ static void xv_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen) { xv_frame_t *frame = (xv_frame_t *) frame_gen; if (this->expecting_event) { + + this->expecting_event--; frame->vo_frame.displayed (&frame->vo_frame); } else { @@ -465,7 +467,7 @@ static void xv_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen) { this->output_xoffset, this->output_yoffset, this->output_width, this->output_height, True); - this->expecting_event = 1; + this->expecting_event = 10; XFlush(this->display); |
