summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_xv.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-04-18 11:42:36 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-04-18 11:42:36 +0000
commit6bc7b443be9d7cec2235d26c4faad264ec34efad (patch)
tree8e6732ca0b9d27befc431f3a2e866ab295ec5065 /src/video_out/video_out_xv.c
parentaaefee31b3a529069218aea70cd849f1b7208d0b (diff)
downloadxine-lib-6bc7b443be9d7cec2235d26c4faad264ec34efad.tar.gz
xine-lib-6bc7b443be9d7cec2235d26c4faad264ec34efad.tar.bz2
Thibaut Mattern's latest patches (xv zoom fix and mms segfault)
CVS patchset: 1735 CVS date: 2002/04/18 11:42:36
Diffstat (limited to 'src/video_out/video_out_xv.c')
-rw-r--r--src/video_out/video_out_xv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c
index 4fedc7297..4770618d5 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.111 2002/04/02 19:29:09 esnel Exp $
+ * $Id: video_out_xv.c,v 1.112 2002/04/18 11:42:38 miguelfreitas Exp $
*
* video_out_xv.c, X11 video extension interface for xine
*
@@ -695,11 +695,11 @@ static void xv_compute_output_size (xv_driver_t *this) {
y_factor = (double) this->gui_height / (double) this->ideal_height;
if ( x_factor < y_factor ) {
- this->output_width = (double) this->ideal_width * x_factor ;
+ this->output_width = (double) this->gui_width;
this->output_height = (double) this->ideal_height * x_factor ;
} else {
this->output_width = (double) this->ideal_width * y_factor ;
- this->output_height = (double) this->ideal_height * y_factor ;
+ this->output_height = (double) this->gui_height;
}
this->output_xoffset = (this->gui_width - this->output_width) / 2 + this->gui_x;