summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-11-23 22:29:45 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-11-23 22:29:45 +0000
commitde54ef0036529dd7a33216556dd584aa92f7f83c (patch)
tree7dcbfd3668e8a303a7e82c421775147647e724ee /src
parentfea35869023a8ea804bf0623b2f360f577965484 (diff)
downloadxine-lib-de54ef0036529dd7a33216556dd584aa92f7f83c.tar.gz
xine-lib-de54ef0036529dd7a33216556dd584aa92f7f83c.tar.bz2
Fixed XV_* properties storage (num to range).
CVS patchset: 1100 CVS date: 2001/11/23 22:29:45
Diffstat (limited to 'src')
-rw-r--r--src/video_out/video_out_xv.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c
index b7bb1b052..be6bf45a0 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.79 2001/11/20 18:35:11 miguelfreitas Exp $
+ * $Id: video_out_xv.c,v 1.80 2001/11/23 22:29:45 f1rmb Exp $
*
* video_out_xv.c, X11 video extension interface for xine
*
@@ -1046,19 +1046,19 @@ static int xv_gui_data_exchange (vo_driver_t *this_gen,
XLockDisplay (this->display);
if (this->use_shm) {
- XvShmPutImage(this->display, this->xv_port,
- this->drawable, this->gc, this->cur_frame->image,
- this->displayed_xoffset, this->displayed_yoffset,
- this->displayed_width, this->displayed_height - 5,
- this->output_xoffset, this->output_yoffset,
- this->output_width, this->output_height, True);
+ XvShmPutImage(this->display, this->xv_port,
+ this->drawable, this->gc, this->cur_frame->image,
+ this->displayed_xoffset, this->displayed_yoffset,
+ this->displayed_width, this->displayed_height - 5,
+ this->output_xoffset, this->output_yoffset,
+ this->output_width, this->output_height, True);
} else {
XvPutImage(this->display, this->xv_port,
- this->drawable, this->gc, this->cur_frame->image,
- this->displayed_xoffset, this->displayed_yoffset,
- this->displayed_width, this->displayed_height - 5,
- this->output_xoffset, this->output_yoffset,
- this->output_width, this->output_height);
+ this->drawable, this->gc, this->cur_frame->image,
+ this->displayed_xoffset, this->displayed_yoffset,
+ this->displayed_width, this->displayed_height - 5,
+ this->output_xoffset, this->output_yoffset,
+ this->output_width, this->output_height);
}
XFlush(this->display);
@@ -1151,7 +1151,8 @@ static void xv_check_capability (xv_driver_t *this,
sprintf (this->scratch, "video.%s", str_prop);
- this->config->register_num (this->config, this->scratch, int_default,
+ this->config->register_range (this->config, this->scratch, int_default,
+ this->props[property].min, this->props[property].max,
"Xv property", NULL, xv_property_callback, &this->props[property]);
entry = this->config->lookup_entry (this->config, this->scratch);