From 8aa1d080cd7765445a96583f7b0599f6790288b8 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Mon, 25 Jun 2001 09:51:47 +0000 Subject: only zoom mpeg1 if running locally CVS patchset: 232 CVS date: 2001/06/25 09:51:47 --- src/video_out/video_out_xshm.c | 4 ++-- src/video_out/video_out_xv.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c index 7c52d9745..8dea4b5a5 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.11 2001/06/24 22:20:26 guenter Exp $ + * $Id: video_out_xshm.c,v 1.12 2001/06/25 09:51:47 guenter Exp $ * * video_out_xshm.c, X11 shared memory extension interface for xine * @@ -454,7 +454,7 @@ static void xshm_calc_output_size (xshm_driver_t *this) { } /* little hack to zoom mpeg1 / other small streams by default*/ - if (ideal_width<400) { + if ( this->use_shm && (ideal_width<400)) { ideal_width *=2; ideal_height *=2; } diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index bc75d3bbe..741bfdd20 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.46 2001/06/25 08:33:58 guenter Exp $ + * $Id: video_out_xv.c,v 1.47 2001/06/25 09:51:47 guenter Exp $ * * video_out_xv.c, X11 video extension interface for xine * @@ -525,7 +525,7 @@ static void xv_calc_format (xv_driver_t *this, } /* little hack to zoom mpeg1 / other small streams by default*/ - if (ideal_width<400) { + if ( this->use_shm && (ideal_width<400)) { ideal_width *=2; ideal_height *=2; } -- cgit v1.2.3