summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_xshm.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-08-28 14:20:09 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-08-28 14:20:09 +0000
commitfbe5d5c87ff060228583e32cbd9e22412132fcef (patch)
tree37680966163dbf6eeeb3ac01b7b5d021ccb48e22 /src/video_out/video_out_xshm.c
parentb7b38b8da61297c1b04fde3238cfc6c7e53baae2 (diff)
downloadxine-lib-fbe5d5c87ff060228583e32cbd9e22412132fcef.tar.gz
xine-lib-fbe5d5c87ff060228583e32cbd9e22412132fcef.tar.bz2
enforce scaling_disabled
CVS patchset: 2541 CVS date: 2002/08/28 14:20:09
Diffstat (limited to 'src/video_out/video_out_xshm.c')
-rw-r--r--src/video_out/video_out_xshm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c
index 284578f92..f9b0b32ab 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.85 2002/08/15 18:24:14 miguelfreitas Exp $
+ * $Id: video_out_xshm.c,v 1.86 2002/08/28 14:20:10 miguelfreitas Exp $
*
* video_out_xshm.c, X11 shared memory extension interface for xine
*
@@ -707,7 +707,9 @@ static void xshm_display_frame (vo_driver_t *this_gen, vo_frame_t *frame_gen) {
if (this->cur_frame) {
if ( (this->cur_frame->sc.output_width != frame->sc.output_width)
- || (this->cur_frame->sc.output_height != frame->sc.output_height) )
+ || (this->cur_frame->sc.output_height != frame->sc.output_height)
+ || (this->cur_frame->sc.output_xoffset != frame->sc.output_xoffset)
+ || (this->cur_frame->sc.output_yoffset != frame->sc.output_yoffset) )
clean_output_area (this, frame);
this->cur_frame->vo_frame.displayed (&this->cur_frame->vo_frame);