From 7c047631b14b628123a53c094a9baaf8b1df41a6 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 28 Jul 2007 22:46:10 +0000 Subject: [PATCH] Experimental negative panscan values git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23897 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/man/en/mplayer.1 | 4 ++++ cfg-mplayer.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 6f12b3bbad..4192c15946 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -2956,6 +2956,10 @@ movie to make it fit a 4:3 display without black bands). 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) diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 70c77afd22..502661559c 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -233,7 +233,7 @@ m_option_t mplayer_opts[]={ // 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},