changeset 23877:f3db21f1963b

Experimental negative panscan values
author reimar
date Sat, 28 Jul 2007 22:46:10 +0000
parents b38974c30ed6
children e64c59f73527
files DOCS/man/en/mplayer.1 cfg-mplayer.h
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/man/en/mplayer.1	Sat Jul 28 22:42:20 2007 +0000
+++ b/DOCS/man/en/mplayer.1	Sat Jul 28 22:46:10 2007 +0000
@@ -2956,6 +2956,10 @@
 The range controls how much of the image is cropped.
 Only works with the xv, xmga, mga, gl, gl2, quartz, macosx and xvidix
 video output drivers.
+.br
+.I NOTE:
+Values between -1 and 0 are allowed as well, but highly experimental
+and may crash or worse. Use at your own risk!
 .
 .TP
 .B \-panscanrange <-19.0\-99.0> (experimental)
--- a/cfg-mplayer.h	Sat Jul 28 22:42:20 2007 +0000
+++ b/cfg-mplayer.h	Sat Jul 28 22:46:10 2007 +0000
@@ -233,7 +233,7 @@
 	// wait for v-sync (vesa)
 	{"vsync", &vo_vsync, CONF_TYPE_FLAG, 0, 0, 1, NULL},
 	{"novsync", &vo_vsync, CONF_TYPE_FLAG, 0, 1, 0, NULL},
-	{"panscan", &vo_panscan, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 1.0, NULL},
+	{"panscan", &vo_panscan, CONF_TYPE_FLOAT, CONF_RANGE, -1.0, 1.0, NULL},
 	{"panscanrange", &vo_panscanrange, CONF_TYPE_FLOAT, CONF_RANGE, -19.0, 99.0, NULL},
 
 	{"grabpointer", &vo_grabpointer, CONF_TYPE_FLAG, 0, 0, 1, NULL},