From: Daniel Caujolle-B. <f1...@us...> - 2001-11-23 22:29:48
|
Update of /cvsroot/xine/xine-lib/src/video_out In directory usw-pr-cvs1:/tmp/cvs-serv15070/src/video_out Modified Files: video_out_xv.c Log Message: Fixed XV_* properties storage (num to range). Index: video_out_xv.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/video_out/video_out_xv.c,v retrieving revision 1.79 retrieving revision 1.80 diff -u -r1.79 -r1.80 --- video_out_xv.c 2001/11/20 18:35:11 1.79 +++ video_out_xv.c 2001/11/23 22:29:45 1.80 @@ -1046,19 +1046,19 @@ 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 @@ 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); |