summaryrefslogtreecommitdiff
path: root/xine_frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'xine_frontend.c')
-rw-r--r--xine_frontend.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/xine_frontend.c b/xine_frontend.c
index ff6b7ea4..330187df 100644
--- a/xine_frontend.c
+++ b/xine_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend.c,v 1.47 2008-01-03 20:06:27 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.48 2008-02-19 00:43:04 phelin Exp $
*
*/
@@ -1414,6 +1414,11 @@ static void *fe_control(void *fe_handle, const char *cmd)
/* trigger forced redraw to make changes effective */
xine_set_param(this->stream, XINE_PARAM_VO_ZOOM_X, 100);
}
+ } else if(!strncmp(cmd, "VO_ASPECT ", 10)) {
+ int vo_aspect_ratio;
+ if(1 == sscanf(cmd+10, "%d", &vo_aspect_ratio)) {
+ xine_set_param(this->stream, XINE_PARAM_VO_ASPECT_RATIO, vo_aspect_ratio);
+ }
}