diff options
author | Mike Lampard <mlampard@users.sourceforge.net> | 2001-10-23 14:06:30 +0000 |
---|---|---|
committer | Mike Lampard <mlampard@users.sourceforge.net> | 2001-10-23 14:06:30 +0000 |
commit | 0f335c856833719c7e0d5de9bdc7ebb1493317f7 (patch) | |
tree | 765829462d112baa1581e997a196cf4b19ba9832 /src | |
parent | 04f281497ebbb6bfadf75b4faf4332b53c3c21eb (diff) | |
download | xine-lib-0f335c856833719c7e0d5de9bdc7ebb1493317f7.tar.gz xine-lib-0f335c856833719c7e0d5de9bdc7ebb1493317f7.tar.bz2 |
Fix slight mis-interpretation of api.
CVS patchset: 867
CVS date: 2001/10/23 14:06:30
Diffstat (limited to 'src')
-rw-r--r-- | src/dxr3/video_out_dxr3.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c index e549e6e6b..d477d966b 100644 --- a/src/dxr3/video_out_dxr3.c +++ b/src/dxr3/video_out_dxr3.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_dxr3.c,v 1.11 2001/10/23 12:08:39 mlampard Exp $ + * $Id: video_out_dxr3.c,v 1.12 2001/10/23 14:06:30 mlampard Exp $ * * Dummy video out plugin for the dxr3. Is responsible for setting * tv_mode, bcs values and the aspectratio. @@ -68,6 +68,7 @@ typedef struct dxr3_driver_s { int overlay_enabled; float desired_ratio; + void *user_data; int video_width; int video_height; int video_aspect; @@ -316,7 +317,7 @@ static int dxr3_set_property (vo_driver_t *this_gen, strerror(errno)); if (this->overlay_enabled && !fullscreen){ int foo; - this->request_dest_size((char *)this, this->width, + this->request_dest_size(this->user_data, this->width, this->width/this->desired_ratio, &foo, &foo, &foo, &foo); } break; @@ -430,6 +431,7 @@ static void gather_screen_vars(dxr3_driver_t *this, x11_visual_t *vis) this->win = vis->d; this->display = vis->display; + this->user_data = vis->user_data; this->gc = XCreateGC(this->display, this->win, 0, NULL); scrn = DefaultScreen(this->display); |