summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-10-21 15:11:03 +0000
committerphintuka <phintuka>2008-10-21 15:11:03 +0000
commitfbc34abbd2d52d9e86585156e09cf84f90f7727d (patch)
tree56eba88bec2dabf41519fa155ffd7b28f433d50a
parent44d17f70f62555238db573caf7d87b1361525deb (diff)
downloadxineliboutput-fbc34abbd2d52d9e86585156e09cf84f90f7727d.tar.gz
xineliboutput-fbc34abbd2d52d9e86585156e09cf84f90f7727d.tar.bz2
Fixed bug #2148032:
--aspect=auto:path_to_script not working (Thanks to Armin Diedering)
-rw-r--r--HISTORY1
-rw-r--r--xine_frontend_main.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 731b5cf6..a51e90da 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9,6 +9,7 @@ VDR Plugin 'xineliboutput' Revision History
2008-10-21: Version 1.0.3 (branch-1_0_x)
Backported bugfixes from CVS trunk:
+- Fixed --aspect=auto:path_to_script option (Thanks to Armin Diedering)
- Fixed playing first track of audio CD (requires xine-lib 1.1.5)
- OS X build fixes (Thanks to Tero Siironen)
- Updated finnish translations (Thanks to Rolf Ahrenberg)
diff --git a/xine_frontend_main.c b/xine_frontend_main.c
index 11652d1c..77b7d128 100644
--- a/xine_frontend_main.c
+++ b/xine_frontend_main.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend_main.c,v 1.49 2008-09-19 12:13:23 phintuka Exp $
+ * $Id: xine_frontend_main.c,v 1.50 2008-10-21 15:08:37 phintuka Exp $
*
*/
@@ -420,7 +420,7 @@ int main(int argc, char *argv[])
aspect = 3;
if(!strncmp(optarg, "16:10", 5))
aspect = 4;
- if(aspect == 0 && optarg[5] == ':')
+ if(aspect == 0 && optarg[4] == ':')
aspect_controller = strdup(optarg+5);
PRINTF("Aspect ratio: %s\n",
aspect==0?"Auto":aspect==2?"4:3":aspect==3?"16:9":