summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-06-25 09:51:47 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-06-25 09:51:47 +0000
commit8aa1d080cd7765445a96583f7b0599f6790288b8 (patch)
treeb902100819a9d3145216dfd25584886db5101a7a /src
parent8e64cc0f572443c041e51952b4fbb024d49fa0fb (diff)
downloadxine-lib-8aa1d080cd7765445a96583f7b0599f6790288b8.tar.gz
xine-lib-8aa1d080cd7765445a96583f7b0599f6790288b8.tar.bz2
only zoom mpeg1 if running locally
CVS patchset: 232 CVS date: 2001/06/25 09:51:47
Diffstat (limited to 'src')
-rw-r--r--src/video_out/video_out_xshm.c4
-rw-r--r--src/video_out/video_out_xv.c4
2 files changed, 4 insertions, 4 deletions
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;
}