summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Stembridge <jstembridge@users.sourceforge.net>2003-01-16 01:45:28 +0000
committerJames Stembridge <jstembridge@users.sourceforge.net>2003-01-16 01:45:28 +0000
commitc3a8e8ae5dd9c03d88ecc33ada8b1724cccf0e96 (patch)
tree0ae7a51bd906529d207ff369a7890988e958c0b2
parentc62d3ab0cad74513cdb9827a43e4a7434fccfb8e (diff)
downloadxine-lib-c3a8e8ae5dd9c03d88ecc33ada8b1724cccf0e96.tar.gz
xine-lib-c3a8e8ae5dd9c03d88ecc33ada8b1724cccf0e96.tar.bz2
Add support for changing aspect ratio
CVS patchset: 3935 CVS date: 2003/01/16 01:45:28
-rw-r--r--src/video_out/video_out_vidix.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_out/video_out_vidix.c b/src/video_out/video_out_vidix.c
index 56950eb3f..36a1e46c7 100644
--- a/src/video_out/video_out_vidix.c
+++ b/src/video_out/video_out_vidix.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_vidix.c,v 1.19 2003/01/15 23:37:21 jstembridge Exp $
+ * $Id: video_out_vidix.c,v 1.20 2003/01/16 01:45:28 jstembridge Exp $
*
* video_out_vidix.c
*
@@ -663,6 +663,10 @@ static int vidix_set_property (vo_driver_t *this_gen,
printf("video_out_vidix: aspect ratio changed to %s\n",
vo_scale_aspect_ratio_name(value));
+ if(value == NUM_ASPECT_RATIOS)
+ value = this->props[property].value = ASPECT_AUTO;
+
+ this->sc.user_ratio = value;
vidix_compute_ideal_size (this);
this->sc.force_redraw = 1;
}