summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-03-22 00:31:10 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-03-22 00:31:10 +0000
commit0fbe47f026ce2253c3e1814172136810bb784e22 (patch)
treea31d2d828342efdf7dd058e24aa5749897218cba
parent851e52f285efae8e771932cccf4e127bd8ff1a09 (diff)
downloadxine-lib-0fbe47f026ce2253c3e1814172136810bb784e22.tar.gz
xine-lib-0fbe47f026ce2253c3e1814172136810bb784e22.tar.bz2
small bugfix to detect frame size changes correctly
CVS patchset: 1612 CVS date: 2002/03/22 00:31:10
-rw-r--r--src/video_out/video_out_xshm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c
index 9a0be52b7..6cec472a9 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.69 2002/03/21 18:29:51 miguelfreitas Exp $
+ * $Id: video_out_xshm.c,v 1.70 2002/03/22 00:31:10 guenter Exp $
*
* video_out_xshm.c, X11 shared memory extension interface for xine
*
@@ -606,7 +606,8 @@ static void xshm_update_frame_format (vo_driver_t *this_gen,
this->dest_size_cb (this->user_data, frame->ideal_width, frame->ideal_height,
&gui_width, &gui_height);
- if ((frame->gui_width != gui_width) || (frame->gui_height != gui_height)) {
+ if ((frame->gui_width != gui_width) || (frame->gui_height != gui_height)
+ || do_adapt) {
do_adapt = 1;
frame->gui_width = gui_width;