summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_xv.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-10-29 02:57:59 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-10-29 02:57:59 +0000
commita61e4d68405657a42c59ea5bc9ebfbde0e0294e3 (patch)
tree7a70420e9605a89048db1f322b41f2a048d5281b /src/video_out/video_out_xv.c
parent03e69bb1df2b5c19296fa234dd2e1ce010f1e43d (diff)
downloadxine-lib-a61e4d68405657a42c59ea5bc9ebfbde0e0294e3.tar.gz
xine-lib-a61e4d68405657a42c59ea5bc9ebfbde0e0294e3.tar.bz2
map brightness/contrast/... settings to specified ranges
CVS patchset: 3085 CVS date: 2002/10/29 02:57:59
Diffstat (limited to 'src/video_out/video_out_xv.c')
-rw-r--r--src/video_out/video_out_xv.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c
index c4ee0deac..bbf71954b 100644
--- a/src/video_out/video_out_xv.c
+++ b/src/video_out/video_out_xv.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_xv.c,v 1.144 2002/10/29 00:36:21 komadori Exp $
+ * $Id: video_out_xv.c,v 1.145 2002/10/29 02:57:59 guenter Exp $
*
* video_out_xv.c, X11 video extension interface for xine
*
@@ -738,6 +738,9 @@ static int xv_get_property (xine_vo_driver_t *this_gen, int property) {
xv_driver_t *this = (xv_driver_t *) this_gen;
+ printf ("video_out_xv: property #%d = %d\n", property,
+ this->props[property].value);
+
return this->props[property].value;
}
@@ -1005,8 +1008,8 @@ static void xv_check_capability (xv_driver_t *this,
XvGetPortAttribute (this->display, this->xv_port,
this->props[property].atom, &int_default);
- printf ("video_out_xv: port attribute %s value is %d\n",
- str_prop, int_default);
+ printf ("video_out_xv: port attribute %s (%d) value is %d\n",
+ str_prop, property, int_default);
if (config_name) {
/* is this a boolean property ? */
@@ -1032,7 +1035,9 @@ static void xv_check_capability (xv_driver_t *this,
this->use_colorkey = 1;
this->colorkey = entry->num_value;
}
- }
+ } else
+ this->props[property].value = int_default;
+
}
static void xv_update_deinterlace(void *this_gen, xine_cfg_entry_t *entry) {